public static final class OperationMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder> implements OperationMetadataOrBuilder
Metadata describing the operation.Protobuf type
google.cloud.datacatalog.lineage.v1.OperationMetadata| Modifier and Type | Method and Description |
|---|---|
OperationMetadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OperationMetadata |
build() |
OperationMetadata |
buildPartial() |
OperationMetadata.Builder |
clear() |
OperationMetadata.Builder |
clearCreateTime()
Output only.
|
OperationMetadata.Builder |
clearEndTime()
Output only.
|
OperationMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
OperationMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OperationMetadata.Builder |
clearOperationType()
Output only.
|
OperationMetadata.Builder |
clearResource()
Output only.
|
OperationMetadata.Builder |
clearResourceUuid()
Output only.
|
OperationMetadata.Builder |
clearState()
Output only.
|
OperationMetadata.Builder |
clone() |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
OperationMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getEndTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getEndTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
Output only.
|
OperationMetadata.Type |
getOperationType()
Output only.
|
int |
getOperationTypeValue()
Output only.
|
String |
getResource()
Output only.
|
com.google.protobuf.ByteString |
getResourceBytes()
Output only.
|
String |
getResourceUuid()
Output only.
|
com.google.protobuf.ByteString |
getResourceUuidBytes()
Output only.
|
OperationMetadata.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasEndTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OperationMetadata.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
OperationMetadata.Builder |
mergeEndTime(com.google.protobuf.Timestamp value)
Output only.
|
OperationMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OperationMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
OperationMetadata.Builder |
mergeFrom(OperationMetadata other) |
OperationMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OperationMetadata.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
OperationMetadata.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
OperationMetadata.Builder |
setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
OperationMetadata.Builder |
setEndTime(com.google.protobuf.Timestamp value)
Output only.
|
OperationMetadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OperationMetadata.Builder |
setOperationType(OperationMetadata.Type value)
Output only.
|
OperationMetadata.Builder |
setOperationTypeValue(int value)
Output only.
|
OperationMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
OperationMetadata.Builder |
setResource(String value)
Output only.
|
OperationMetadata.Builder |
setResourceBytes(com.google.protobuf.ByteString value)
Output only.
|
OperationMetadata.Builder |
setResourceUuid(String value)
Output only.
|
OperationMetadata.Builder |
setResourceUuidBytes(com.google.protobuf.ByteString value)
Output only.
|
OperationMetadata.Builder |
setState(OperationMetadata.State value)
Output only.
|
OperationMetadata.Builder |
setStateValue(int value)
Output only.
|
OperationMetadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public OperationMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public OperationMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic OperationMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic OperationMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic OperationMetadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public OperationMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public OperationMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public OperationMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public OperationMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public OperationMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public OperationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OperationMetadata.Builder>public OperationMetadata.Builder mergeFrom(OperationMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public OperationMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OperationMetadata.Builder>IOExceptionpublic int getStateValue()
Output only. The current operation state.
.google.cloud.datacatalog.lineage.v1.OperationMetadata.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setStateValue(int value)
Output only. The current operation state.
.google.cloud.datacatalog.lineage.v1.OperationMetadata.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for state to set.public OperationMetadata.State getState()
Output only. The current operation state.
.google.cloud.datacatalog.lineage.v1.OperationMetadata.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setState(OperationMetadata.State value)
Output only. The current operation state.
.google.cloud.datacatalog.lineage.v1.OperationMetadata.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The state to set.public OperationMetadata.Builder clearState()
Output only. The current operation state.
.google.cloud.datacatalog.lineage.v1.OperationMetadata.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public int getOperationTypeValue()
Output only. The type of the operation being performed.
.google.cloud.datacatalog.lineage.v1.OperationMetadata.Type operation_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOperationTypeValue in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setOperationTypeValue(int value)
Output only. The type of the operation being performed.
.google.cloud.datacatalog.lineage.v1.OperationMetadata.Type operation_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for operationType to set.public OperationMetadata.Type getOperationType()
Output only. The type of the operation being performed.
.google.cloud.datacatalog.lineage.v1.OperationMetadata.Type operation_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOperationType in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setOperationType(OperationMetadata.Type value)
Output only. The type of the operation being performed.
.google.cloud.datacatalog.lineage.v1.OperationMetadata.Type operation_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The operationType to set.public OperationMetadata.Builder clearOperationType()
Output only. The type of the operation being performed.
.google.cloud.datacatalog.lineage.v1.OperationMetadata.Type operation_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public String getResource()
Output only. The [relative name] (https://cloud.google.com//apis/design/resource_names#relative_resource_name) of the resource being operated on.
string resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getResource in interface OperationMetadataOrBuilderpublic com.google.protobuf.ByteString getResourceBytes()
Output only. The [relative name] (https://cloud.google.com//apis/design/resource_names#relative_resource_name) of the resource being operated on.
string resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getResourceBytes in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setResource(String value)
Output only. The [relative name] (https://cloud.google.com//apis/design/resource_names#relative_resource_name) of the resource being operated on.
string resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The resource to set.public OperationMetadata.Builder clearResource()
Output only. The [relative name] (https://cloud.google.com//apis/design/resource_names#relative_resource_name) of the resource being operated on.
string resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];public OperationMetadata.Builder setResourceBytes(com.google.protobuf.ByteString value)
Output only. The [relative name] (https://cloud.google.com//apis/design/resource_names#relative_resource_name) of the resource being operated on.
string resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for resource to set.public String getResourceUuid()
Output only. The UUID of the resource being operated on.
string resource_uuid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getResourceUuid in interface OperationMetadataOrBuilderpublic com.google.protobuf.ByteString getResourceUuidBytes()
Output only. The UUID of the resource being operated on.
string resource_uuid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getResourceUuidBytes in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setResourceUuid(String value)
Output only. The UUID of the resource being operated on.
string resource_uuid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The resourceUuid to set.public OperationMetadata.Builder clearResourceUuid()
Output only. The UUID of the resource being operated on.
string resource_uuid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];public OperationMetadata.Builder setResourceUuidBytes(com.google.protobuf.ByteString value)
Output only. The UUID of the resource being operated on.
string resource_uuid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for resourceUuid to set.public boolean hasCreateTime()
Output only. The timestamp of the operation submission to the server.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface OperationMetadataOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The timestamp of the operation submission to the server.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp of the operation submission to the server.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp of the operation submission to the server.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp of the operation submission to the server.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder clearCreateTime()
Output only. The timestamp of the operation submission to the server.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The timestamp of the operation submission to the server.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp of the operation submission to the server.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface OperationMetadataOrBuilderpublic boolean hasEndTime()
Output only. The timestamp of the operation termination, regardless of its success. This field is unset if the operation is still ongoing.
.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasEndTime in interface OperationMetadataOrBuilderpublic com.google.protobuf.Timestamp getEndTime()
Output only. The timestamp of the operation termination, regardless of its success. This field is unset if the operation is still ongoing.
.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEndTime in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setEndTime(com.google.protobuf.Timestamp value)
Output only. The timestamp of the operation termination, regardless of its success. This field is unset if the operation is still ongoing.
.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp of the operation termination, regardless of its success. This field is unset if the operation is still ongoing.
.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder mergeEndTime(com.google.protobuf.Timestamp value)
Output only. The timestamp of the operation termination, regardless of its success. This field is unset if the operation is still ongoing.
.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder clearEndTime()
Output only. The timestamp of the operation termination, regardless of its success. This field is unset if the operation is still ongoing.
.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
Output only. The timestamp of the operation termination, regardless of its success. This field is unset if the operation is still ongoing.
.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Output only. The timestamp of the operation termination, regardless of its success. This field is unset if the operation is still ongoing.
.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEndTimeOrBuilder in interface OperationMetadataOrBuilderpublic final OperationMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public final OperationMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>Copyright © 2023 Google LLC. All rights reserved.