public final class BatchOperationMetadata extends GeneratedMessageV3 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
Static Fields
public static final int END_TIME_FIELD_NUMBER
Field Value
public static final int STATE_FIELD_NUMBER
Field Value
public static final int SUBMIT_TIME_FIELD_NUMBER
Field Value
Static Methods
public static BatchOperationMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static BatchOperationMetadata.Builder newBuilder()
Returns
public static BatchOperationMetadata.Builder newBuilder(BatchOperationMetadata prototype)
Parameter
Returns
public static BatchOperationMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchOperationMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static BatchOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchOperationMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static BatchOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchOperationMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BatchOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchOperationMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchOperationMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static BatchOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<BatchOperationMetadata> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public BatchOperationMetadata getDefaultInstanceForType()
Returns
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 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 Parser<BatchOperationMetadata> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
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 TimestampOrBuilder getSubmitTimeOrBuilder()
The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public BatchOperationMetadata.Builder newBuilderForType()
Returns
protected BatchOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public BatchOperationMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions