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.v1p3beta1.BatchOperationMetadata
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 BatchOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public BatchOperationMetadata build()
Returns
public BatchOperationMetadata buildPartial()
Returns
public BatchOperationMetadata.Builder clear()
Returns
Overrides
public BatchOperationMetadata.Builder clearEndTime()
The time when the batch request is finished and
google.longrunning.Operation.done is
set to true.
.google.protobuf.Timestamp end_time = 3;
Returns
public BatchOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public BatchOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public BatchOperationMetadata.Builder clearState()
The current state of the batch operation.
.google.cloud.vision.v1p3beta1.BatchOperationMetadata.State state = 1;
Returns
public BatchOperationMetadata.Builder clearSubmitTime()
The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
Returns
public BatchOperationMetadata.Builder clone()
Returns
Overrides
public BatchOperationMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Timestamp getEndTime()
The time when the batch request is finished and
google.longrunning.Operation.done is
set to true.
.google.protobuf.Timestamp end_time = 3;
Returns
public Timestamp.Builder getEndTimeBuilder()
The time when the batch request is finished and
google.longrunning.Operation.done is
set to true.
.google.protobuf.Timestamp end_time = 3;
Returns
public TimestampOrBuilder getEndTimeOrBuilder()
The time when the batch request is finished and
google.longrunning.Operation.done is
set to true.
.google.protobuf.Timestamp end_time = 3;
Returns
public BatchOperationMetadata.State getState()
The current state of the batch operation.
.google.cloud.vision.v1p3beta1.BatchOperationMetadata.State state = 1;
Returns
public int getStateValue()
The current state of the batch operation.
.google.cloud.vision.v1p3beta1.BatchOperationMetadata.State state = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for state.
|
public Timestamp getSubmitTime()
The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
Returns
public Timestamp.Builder getSubmitTimeBuilder()
The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
Returns
public TimestampOrBuilder getSubmitTimeOrBuilder()
The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
Returns
public boolean hasEndTime()
The time when the batch request is finished and
google.longrunning.Operation.done is
set to true.
.google.protobuf.Timestamp end_time = 3;
Returns
Type | Description |
boolean | Whether the endTime field is set.
|
public boolean hasSubmitTime()
The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
Returns
Type | Description |
boolean | Whether the submitTime field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public BatchOperationMetadata.Builder mergeEndTime(Timestamp value)
The time when the batch request is finished and
google.longrunning.Operation.done is
set to true.
.google.protobuf.Timestamp end_time = 3;
Parameter
Returns
public BatchOperationMetadata.Builder mergeFrom(BatchOperationMetadata other)
Parameter
Returns
public BatchOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public BatchOperationMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public BatchOperationMetadata.Builder mergeSubmitTime(Timestamp value)
The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
Parameter
Returns
public final BatchOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public BatchOperationMetadata.Builder setEndTime(Timestamp value)
The time when the batch request is finished and
google.longrunning.Operation.done is
set to true.
.google.protobuf.Timestamp end_time = 3;
Parameter
Returns
public BatchOperationMetadata.Builder setEndTime(Timestamp.Builder builderForValue)
The time when the batch request is finished and
google.longrunning.Operation.done is
set to true.
.google.protobuf.Timestamp end_time = 3;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
public BatchOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public BatchOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public BatchOperationMetadata.Builder setState(BatchOperationMetadata.State value)
The current state of the batch operation.
.google.cloud.vision.v1p3beta1.BatchOperationMetadata.State state = 1;
Parameter
Returns
public BatchOperationMetadata.Builder setStateValue(int value)
The current state of the batch operation.
.google.cloud.vision.v1p3beta1.BatchOperationMetadata.State state = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for state to set.
|
Returns
public BatchOperationMetadata.Builder setSubmitTime(Timestamp value)
The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
Parameter
Returns
public BatchOperationMetadata.Builder setSubmitTime(Timestamp.Builder builderForValue)
The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
public final BatchOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides