public static final class OperationMetadata.Builder extends GeneratedMessageV3.Builder<OperationMetadata.Builder> implements OperationMetadataOrBuilder
Contains metadata for the BatchAnnotateImages operation.Protobuf type
google.cloud.vision.v1p4beta1.OperationMetadata
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<OperationMetadata.Builder>
public OperationMetadata.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<OperationMetadata.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<OperationMetadata.Builder>
public OperationMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public OperationMetadata build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public OperationMetadata buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public OperationMetadata.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<OperationMetadata.Builder>
public OperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<OperationMetadata.Builder>
public OperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<OperationMetadata.Builder>
public OperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<OperationMetadata.Builder>
public OperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<OperationMetadata.Builder>
public OperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<OperationMetadata.Builder>
public OperationMetadata.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<OperationMetadata.Builder>
public OperationMetadata.Builder mergeFrom(OperationMetadata other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<OperationMetadata.Builder>
public OperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<OperationMetadata.Builder>
IOException
public int getStateValue()
Current state of the batch operation.
.google.cloud.vision.v1p4beta1.OperationMetadata.State state = 1;
getStateValue
in interface OperationMetadataOrBuilder
public OperationMetadata.Builder setStateValue(int value)
Current state of the batch operation.
.google.cloud.vision.v1p4beta1.OperationMetadata.State state = 1;
value
- The enum numeric value on the wire for state to set.public OperationMetadata.State getState()
Current state of the batch operation.
.google.cloud.vision.v1p4beta1.OperationMetadata.State state = 1;
getState
in interface OperationMetadataOrBuilder
public OperationMetadata.Builder setState(OperationMetadata.State value)
Current state of the batch operation.
.google.cloud.vision.v1p4beta1.OperationMetadata.State state = 1;
value
- The state to set.public OperationMetadata.Builder clearState()
Current state of the batch operation.
.google.cloud.vision.v1p4beta1.OperationMetadata.State state = 1;
public boolean hasCreateTime()
The time when the batch request was received.
.google.protobuf.Timestamp create_time = 5;
hasCreateTime
in interface OperationMetadataOrBuilder
public Timestamp getCreateTime()
The time when the batch request was received.
.google.protobuf.Timestamp create_time = 5;
getCreateTime
in interface OperationMetadataOrBuilder
public OperationMetadata.Builder setCreateTime(Timestamp value)
The time when the batch request was received.
.google.protobuf.Timestamp create_time = 5;
public OperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)
The time when the batch request was received.
.google.protobuf.Timestamp create_time = 5;
public OperationMetadata.Builder mergeCreateTime(Timestamp value)
The time when the batch request was received.
.google.protobuf.Timestamp create_time = 5;
public OperationMetadata.Builder clearCreateTime()
The time when the batch request was received.
.google.protobuf.Timestamp create_time = 5;
public Timestamp.Builder getCreateTimeBuilder()
The time when the batch request was received.
.google.protobuf.Timestamp create_time = 5;
public TimestampOrBuilder getCreateTimeOrBuilder()
The time when the batch request was received.
.google.protobuf.Timestamp create_time = 5;
getCreateTimeOrBuilder
in interface OperationMetadataOrBuilder
public boolean hasUpdateTime()
The time when the operation result was last updated.
.google.protobuf.Timestamp update_time = 6;
hasUpdateTime
in interface OperationMetadataOrBuilder
public Timestamp getUpdateTime()
The time when the operation result was last updated.
.google.protobuf.Timestamp update_time = 6;
getUpdateTime
in interface OperationMetadataOrBuilder
public OperationMetadata.Builder setUpdateTime(Timestamp value)
The time when the operation result was last updated.
.google.protobuf.Timestamp update_time = 6;
public OperationMetadata.Builder setUpdateTime(Timestamp.Builder builderForValue)
The time when the operation result was last updated.
.google.protobuf.Timestamp update_time = 6;
public OperationMetadata.Builder mergeUpdateTime(Timestamp value)
The time when the operation result was last updated.
.google.protobuf.Timestamp update_time = 6;
public OperationMetadata.Builder clearUpdateTime()
The time when the operation result was last updated.
.google.protobuf.Timestamp update_time = 6;
public Timestamp.Builder getUpdateTimeBuilder()
The time when the operation result was last updated.
.google.protobuf.Timestamp update_time = 6;
public TimestampOrBuilder getUpdateTimeOrBuilder()
The time when the operation result was last updated.
.google.protobuf.Timestamp update_time = 6;
getUpdateTimeOrBuilder
in interface OperationMetadataOrBuilder
public final OperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<OperationMetadata.Builder>
public final OperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<OperationMetadata.Builder>
Copyright © 2022 Google LLC. All rights reserved.