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()
Methods
public CommonOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CommonOperationMetadata build()
public CommonOperationMetadata buildPartial()
public CommonOperationMetadata.Builder clear()
Overrides
public CommonOperationMetadata.Builder clearCreateTime()
The creation time of the operation.
.google.protobuf.Timestamp create_time = 2;
public CommonOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CommonOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public CommonOperationMetadata.Builder clearState()
The state of the operation.
.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State state = 1;
public CommonOperationMetadata.Builder clearUpdateTime()
The last update time of the operation.
.google.protobuf.Timestamp update_time = 3;
public CommonOperationMetadata.Builder clone()
Overrides
public Timestamp getCreateTime()
The creation time of the operation.
.google.protobuf.Timestamp create_time = 2;
Returns |
---|
Type | Description |
Timestamp | The createTime.
|
public Timestamp.Builder getCreateTimeBuilder()
The creation time of the operation.
.google.protobuf.Timestamp create_time = 2;
public TimestampOrBuilder getCreateTimeOrBuilder()
The creation time of the operation.
.google.protobuf.Timestamp create_time = 2;
public CommonOperationMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public CommonOperationMetadata.State getState()
The state of the operation.
.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State state = 1;
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 |
---|
Type | Description |
Timestamp | The updateTime.
|
public Timestamp.Builder getUpdateTimeBuilder()
The last update time of the operation.
.google.protobuf.Timestamp update_time = 3;
public TimestampOrBuilder getUpdateTimeOrBuilder()
The last update time of the operation.
.google.protobuf.Timestamp update_time = 3;
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()
Overrides
public final boolean isInitialized()
Overrides
public CommonOperationMetadata.Builder mergeCreateTime(Timestamp value)
The creation time of the operation.
.google.protobuf.Timestamp create_time = 2;
public CommonOperationMetadata.Builder mergeFrom(CommonOperationMetadata other)
public CommonOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public CommonOperationMetadata.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final CommonOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public CommonOperationMetadata.Builder mergeUpdateTime(Timestamp value)
The last update time of the operation.
.google.protobuf.Timestamp update_time = 3;
public CommonOperationMetadata.Builder setCreateTime(Timestamp value)
The creation time of the operation.
.google.protobuf.Timestamp create_time = 2;
public CommonOperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)
The creation time of the operation.
.google.protobuf.Timestamp create_time = 2;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
public CommonOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CommonOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public CommonOperationMetadata.Builder setState(CommonOperationMetadata.State value)
The state of the operation.
.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State state = 1;
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.
|
public final CommonOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
public CommonOperationMetadata.Builder setUpdateTime(Timestamp value)
The last update time of the operation.
.google.protobuf.Timestamp update_time = 3;
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
|