Send feedback
Class BatchOperationMetadata (3.14.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.14.0 keyboard_arrow_down
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.v1.BatchOperationMetadata
Static Fields
public static final int END_TIME_FIELD_NUMBER
Field Value Type Description int
public static final int STATE_FIELD_NUMBER
Field Value Type Description int
public static final int SUBMIT_TIME_FIELD_NUMBER
Field Value Type Description int
Static Methods
public static BatchOperationMetadata getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static BatchOperationMetadata . Builder newBuilder ()
public static BatchOperationMetadata . Builder newBuilder ( BatchOperationMetadata prototype )
public static BatchOperationMetadata parseDelimitedFrom ( InputStream input )
public static BatchOperationMetadata parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static BatchOperationMetadata parseFrom ( byte [] data )
Parameter Name Description data
byte []
public static BatchOperationMetadata parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static BatchOperationMetadata parseFrom ( ByteString data )
public static BatchOperationMetadata parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static BatchOperationMetadata parseFrom ( CodedInputStream input )
public static BatchOperationMetadata parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static BatchOperationMetadata parseFrom ( InputStream input )
public static BatchOperationMetadata parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static BatchOperationMetadata parseFrom ( ByteBuffer data )
public static BatchOperationMetadata parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<BatchOperationMetadata> parser ()
Methods
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
public BatchOperationMetadata getDefaultInstanceForType ()
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;
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;
public Parser<BatchOperationMetadata> getParserForType ()
Overrides
public int getSerializedSize ()
Returns Type Description int
Overrides
public BatchOperationMetadata . State getState ()
The current state of the batch operation.
.google.cloud.vision.v1.BatchOperationMetadata.State state = 1;
public int getStateValue ()
The current state of the batch operation.
.google.cloud.vision.v1.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 Type Description Timestamp
The submitTime.
public TimestampOrBuilder getSubmitTimeOrBuilder ()
The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
public final UnknownFieldSet getUnknownFields ()
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 Type Description int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public BatchOperationMetadata . Builder newBuilderForType ()
protected BatchOperationMetadata . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
public BatchOperationMetadata . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]