public static final class BatchOperationMetadata.Builder extends GeneratedMessageV3.Builder<BatchOperationMetadata.Builder> implements BatchOperationMetadataOrBuilder
Metadata for the batch operations such as the current state. This is included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.Protobuf type
google.cloud.vision.v1.BatchOperationMetadata
Modifier and Type | Method and Description |
---|---|
BatchOperationMetadata.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
BatchOperationMetadata |
build() |
BatchOperationMetadata |
buildPartial() |
BatchOperationMetadata.Builder |
clear() |
BatchOperationMetadata.Builder |
clearEndTime()
The time when the batch request is finished and
[google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.
|
BatchOperationMetadata.Builder |
clearField(Descriptors.FieldDescriptor field) |
BatchOperationMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
BatchOperationMetadata.Builder |
clearState()
The current state of the batch operation.
|
BatchOperationMetadata.Builder |
clearSubmitTime()
The time when the batch request was submitted to the server.
|
BatchOperationMetadata.Builder |
clone() |
BatchOperationMetadata |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
Timestamp |
getEndTime()
The time when the batch request is finished and
[google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.
|
Timestamp.Builder |
getEndTimeBuilder()
The time when the batch request is finished and
[google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.
|
TimestampOrBuilder |
getEndTimeOrBuilder()
The time when the batch request is finished and
[google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.
|
BatchOperationMetadata.State |
getState()
The current state of the batch operation.
|
int |
getStateValue()
The current state of the batch operation.
|
Timestamp |
getSubmitTime()
The time when the batch request was submitted to the server.
|
Timestamp.Builder |
getSubmitTimeBuilder()
The time when the batch request was submitted to the server.
|
TimestampOrBuilder |
getSubmitTimeOrBuilder()
The time when the batch request was submitted to the server.
|
boolean |
hasEndTime()
The time when the batch request is finished and
[google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.
|
boolean |
hasSubmitTime()
The time when the batch request was submitted to the server.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BatchOperationMetadata.Builder |
mergeEndTime(Timestamp value)
The time when the batch request is finished and
[google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.
|
BatchOperationMetadata.Builder |
mergeFrom(BatchOperationMetadata other) |
BatchOperationMetadata.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
BatchOperationMetadata.Builder |
mergeFrom(Message other) |
BatchOperationMetadata.Builder |
mergeSubmitTime(Timestamp value)
The time when the batch request was submitted to the server.
|
BatchOperationMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
BatchOperationMetadata.Builder |
setEndTime(Timestamp.Builder builderForValue)
The time when the batch request is finished and
[google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.
|
BatchOperationMetadata.Builder |
setEndTime(Timestamp value)
The time when the batch request is finished and
[google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.
|
BatchOperationMetadata.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
BatchOperationMetadata.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
BatchOperationMetadata.Builder |
setState(BatchOperationMetadata.State value)
The current state of the batch operation.
|
BatchOperationMetadata.Builder |
setStateValue(int value)
The current state of the batch operation.
|
BatchOperationMetadata.Builder |
setSubmitTime(Timestamp.Builder builderForValue)
The time when the batch request was submitted to the server.
|
BatchOperationMetadata.Builder |
setSubmitTime(Timestamp value)
The time when the batch request was submitted to the server.
|
BatchOperationMetadata.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
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<BatchOperationMetadata.Builder>
public BatchOperationMetadata.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public BatchOperationMetadata build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public BatchOperationMetadata buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public BatchOperationMetadata.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata.Builder mergeFrom(BatchOperationMetadata other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<BatchOperationMetadata.Builder>
IOException
public int getStateValue()
The current state of the batch operation.
.google.cloud.vision.v1.BatchOperationMetadata.State state = 1;
getStateValue
in interface BatchOperationMetadataOrBuilder
public BatchOperationMetadata.Builder setStateValue(int value)
The current state of the batch operation.
.google.cloud.vision.v1.BatchOperationMetadata.State state = 1;
value
- The enum numeric value on the wire for state to set.public BatchOperationMetadata.State getState()
The current state of the batch operation.
.google.cloud.vision.v1.BatchOperationMetadata.State state = 1;
getState
in interface BatchOperationMetadataOrBuilder
public BatchOperationMetadata.Builder setState(BatchOperationMetadata.State value)
The current state of the batch operation.
.google.cloud.vision.v1.BatchOperationMetadata.State state = 1;
value
- The state to set.public BatchOperationMetadata.Builder clearState()
The current state of the batch operation.
.google.cloud.vision.v1.BatchOperationMetadata.State state = 1;
public boolean hasSubmitTime()
The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
hasSubmitTime
in interface BatchOperationMetadataOrBuilder
public Timestamp getSubmitTime()
The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
getSubmitTime
in interface BatchOperationMetadataOrBuilder
public BatchOperationMetadata.Builder setSubmitTime(Timestamp value)
The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
public BatchOperationMetadata.Builder setSubmitTime(Timestamp.Builder builderForValue)
The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
public BatchOperationMetadata.Builder mergeSubmitTime(Timestamp value)
The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
public BatchOperationMetadata.Builder clearSubmitTime()
The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
public Timestamp.Builder getSubmitTimeBuilder()
The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
public TimestampOrBuilder getSubmitTimeOrBuilder()
The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
getSubmitTimeOrBuilder
in interface BatchOperationMetadataOrBuilder
public boolean hasEndTime()
The time when the batch request is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.
.google.protobuf.Timestamp end_time = 3;
hasEndTime
in interface BatchOperationMetadataOrBuilder
public Timestamp getEndTime()
The time when the batch request is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.
.google.protobuf.Timestamp end_time = 3;
getEndTime
in interface BatchOperationMetadataOrBuilder
public BatchOperationMetadata.Builder setEndTime(Timestamp value)
The time when the batch request is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.
.google.protobuf.Timestamp end_time = 3;
public BatchOperationMetadata.Builder setEndTime(Timestamp.Builder builderForValue)
The time when the batch request is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.
.google.protobuf.Timestamp end_time = 3;
public BatchOperationMetadata.Builder mergeEndTime(Timestamp value)
The time when the batch request is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.
.google.protobuf.Timestamp end_time = 3;
public BatchOperationMetadata.Builder clearEndTime()
The time when the batch request is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.
.google.protobuf.Timestamp end_time = 3;
public Timestamp.Builder getEndTimeBuilder()
The time when the batch request is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.
.google.protobuf.Timestamp end_time = 3;
public TimestampOrBuilder getEndTimeOrBuilder()
The time when the batch request is finished and [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.
.google.protobuf.Timestamp end_time = 3;
getEndTimeOrBuilder
in interface BatchOperationMetadataOrBuilder
public final BatchOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public final BatchOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
Copyright © 2022 Google LLC. All rights reserved.