public static final class CommonOperationMetadata.Builder extends GeneratedMessageV3.Builder<CommonOperationMetadata.Builder> implements CommonOperationMetadataOrBuilder
The common metadata for long running operations.
Protobuf type google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public CommonOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CommonOperationMetadata build()
Returns
public CommonOperationMetadata buildPartial()
Returns
public CommonOperationMetadata.Builder clear()
Returns
Overrides
public CommonOperationMetadata.Builder clearCreateTime()
The creation time of the operation.
.google.protobuf.Timestamp create_time = 2;
Returns
public CommonOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CommonOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public CommonOperationMetadata.Builder clearState()
The state of the operation.
.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State state = 1;
Returns
public CommonOperationMetadata.Builder clearUpdateTime()
The last update time of the operation.
.google.protobuf.Timestamp update_time = 3;
Returns
public CommonOperationMetadata.Builder clone()
Returns
Overrides
public Timestamp getCreateTime()
The creation time of the operation.
.google.protobuf.Timestamp create_time = 2;
Returns
public Timestamp.Builder getCreateTimeBuilder()
The creation time of the operation.
.google.protobuf.Timestamp create_time = 2;
Returns
public TimestampOrBuilder getCreateTimeOrBuilder()
The creation time of the operation.
.google.protobuf.Timestamp create_time = 2;
Returns
public CommonOperationMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public CommonOperationMetadata.State getState()
The state of the operation.
.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State state = 1;
Returns
public int getStateValue()
The state of the operation.
.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State state = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for state.
|
public Timestamp getUpdateTime()
The last update time of the operation.
.google.protobuf.Timestamp update_time = 3;
Returns
public Timestamp.Builder getUpdateTimeBuilder()
The last update time of the operation.
.google.protobuf.Timestamp update_time = 3;
Returns
public TimestampOrBuilder getUpdateTimeOrBuilder()
The last update time of the operation.
.google.protobuf.Timestamp update_time = 3;
Returns
public boolean hasCreateTime()
The creation time of the operation.
.google.protobuf.Timestamp create_time = 2;
Returns
Type | Description |
boolean | Whether the createTime field is set.
|
public boolean hasUpdateTime()
The last update time of the operation.
.google.protobuf.Timestamp update_time = 3;
Returns
Type | Description |
boolean | Whether the updateTime field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CommonOperationMetadata.Builder mergeCreateTime(Timestamp value)
The creation time of the operation.
.google.protobuf.Timestamp create_time = 2;
Parameter
Returns
public CommonOperationMetadata.Builder mergeFrom(CommonOperationMetadata other)
Parameter
Returns
public CommonOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CommonOperationMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final CommonOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public CommonOperationMetadata.Builder mergeUpdateTime(Timestamp value)
The last update time of the operation.
.google.protobuf.Timestamp update_time = 3;
Parameter
Returns
public CommonOperationMetadata.Builder setCreateTime(Timestamp value)
The creation time of the operation.
.google.protobuf.Timestamp create_time = 2;
Parameter
Returns
public CommonOperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)
The creation time of the operation.
.google.protobuf.Timestamp create_time = 2;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
public CommonOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CommonOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public CommonOperationMetadata.Builder setState(CommonOperationMetadata.State value)
The state of the operation.
.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State state = 1;
Parameter
Returns
public CommonOperationMetadata.Builder setStateValue(int value)
The state of the operation.
.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State state = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for state to set.
|
Returns
public final CommonOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public CommonOperationMetadata.Builder setUpdateTime(Timestamp value)
The last update time of the operation.
.google.protobuf.Timestamp update_time = 3;
Parameter
Returns
public CommonOperationMetadata.Builder setUpdateTime(Timestamp.Builder builderForValue)
The last update time of the operation.
.google.protobuf.Timestamp update_time = 3;
Parameter
Name | Description |
builderForValue | Builder
|
Returns