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
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()
ReturnsMethods
public BatchOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
ParametersReturnsOverridespublic BatchOperationMetadata build()
Returnspublic BatchOperationMetadata buildPartial()
Returnspublic BatchOperationMetadata.Builder clear()
ReturnsOverridespublic 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;
Returnspublic BatchOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
ParameterReturnsOverridespublic BatchOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
ParameterReturnsOverridespublic BatchOperationMetadata.Builder clearState()
The current state of the batch operation.
.google.cloud.vision.v1.BatchOperationMetadata.State state = 1;
Returnspublic BatchOperationMetadata.Builder clearSubmitTime()
The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
Returnspublic BatchOperationMetadata.Builder clone()
ReturnsOverridespublic BatchOperationMetadata getDefaultInstanceForType()
Returnspublic Descriptors.Descriptor getDescriptorForType()
ReturnsOverridespublic 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;
Returnspublic 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;
Returnspublic 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;
Returnspublic BatchOperationMetadata.State getState()
The current state of the batch operation.
.google.cloud.vision.v1.BatchOperationMetadata.State state = 1;
Returnspublic int getStateValue()
The current state of the batch operation.
.google.cloud.vision.v1.BatchOperationMetadata.State state = 1;
ReturnsType | 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;
Returnspublic Timestamp.Builder getSubmitTimeBuilder()
The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
Returnspublic TimestampOrBuilder getSubmitTimeOrBuilder()
The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
Returnspublic 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;
ReturnsType | 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;
ReturnsType | Description |
boolean | Whether the submitTime field is set. |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
ReturnsOverridespublic final boolean isInitialized()
ReturnsOverridespublic 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;
ParameterReturnspublic BatchOperationMetadata.Builder mergeFrom(BatchOperationMetadata other)
ParameterReturnspublic BatchOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
ParametersReturnsOverridesExceptionspublic BatchOperationMetadata.Builder mergeFrom(Message other)
ParameterReturnsOverridespublic BatchOperationMetadata.Builder mergeSubmitTime(Timestamp value)
The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
ParameterReturnspublic final BatchOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
ParameterReturnsOverridespublic 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;
ParameterReturnspublic 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;
ParameterName | Description |
builderForValue | Builder
|
Returnspublic BatchOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
ParametersReturnsOverridespublic BatchOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
ParametersReturnsOverridespublic BatchOperationMetadata.Builder setState(BatchOperationMetadata.State value)
The current state of the batch operation.
.google.cloud.vision.v1.BatchOperationMetadata.State state = 1;
ParameterReturnspublic BatchOperationMetadata.Builder setStateValue(int value)
The current state of the batch operation.
.google.cloud.vision.v1.BatchOperationMetadata.State state = 1;
ParameterName | Description |
value | int
The enum numeric value on the wire for state to set. |
Returnspublic BatchOperationMetadata.Builder setSubmitTime(Timestamp value)
The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
ParameterReturnspublic BatchOperationMetadata.Builder setSubmitTime(Timestamp.Builder builderForValue)
The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
ParameterName | Description |
builderForValue | Builder
|
Returnspublic final BatchOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
ParameterReturnsOverrides