public final class ReviewDocumentOperationMetadata extends GeneratedMessageV3 implements ReviewDocumentOperationMetadataOrBuilder
The long running operation metadata for review document method.
Protobuf type google.cloud.documentai.v1.ReviewDocumentOperationMetadata
Static Fields
public static final int COMMON_METADATA_FIELD_NUMBER
Field Value
public static final int QUESTION_ID_FIELD_NUMBER
Field Value
Static Methods
public static ReviewDocumentOperationMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ReviewDocumentOperationMetadata.Builder newBuilder()
Returns
public static ReviewDocumentOperationMetadata.Builder newBuilder(ReviewDocumentOperationMetadata prototype)
Parameter
Returns
public static ReviewDocumentOperationMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ReviewDocumentOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReviewDocumentOperationMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ReviewDocumentOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReviewDocumentOperationMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ReviewDocumentOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReviewDocumentOperationMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ReviewDocumentOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReviewDocumentOperationMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ReviewDocumentOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReviewDocumentOperationMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ReviewDocumentOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ReviewDocumentOperationMetadata> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public CommonOperationMetadata getCommonMetadata()
The basic metadata of the long running operation.
.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5;
Returns
public CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder()
The basic metadata of the long running operation.
.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5;
Returns
public ReviewDocumentOperationMetadata getDefaultInstanceForType()
Returns
public Parser<ReviewDocumentOperationMetadata> getParserForType()
Returns
Overrides
public String getQuestionId()
The Crowd Compute question ID.
string question_id = 6;
Returns
Type | Description |
String | The questionId.
|
public ByteString getQuestionIdBytes()
The Crowd Compute question ID.
string question_id = 6;
Returns
Type | Description |
ByteString | The bytes for questionId.
|
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasCommonMetadata()
The basic metadata of the long running operation.
.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5;
Returns
Type | Description |
boolean | Whether the commonMetadata field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ReviewDocumentOperationMetadata.Builder newBuilderForType()
Returns
protected ReviewDocumentOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ReviewDocumentOperationMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions