public final class GetDocumentResponse extends GeneratedMessageV3 implements GetDocumentResponseOrBuilder
Protobuf type google.cloud.documentai.v1beta3.GetDocumentResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
DOCUMENT_FIELD_NUMBER
public static final int DOCUMENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static GetDocumentResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GetDocumentResponse.Builder newBuilder()
newBuilder(GetDocumentResponse prototype)
public static GetDocumentResponse.Builder newBuilder(GetDocumentResponse prototype)
public static GetDocumentResponse parseDelimitedFrom(InputStream input)
public static GetDocumentResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GetDocumentResponse parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GetDocumentResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GetDocumentResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GetDocumentResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GetDocumentResponse parseFrom(CodedInputStream input)
public static GetDocumentResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GetDocumentResponse parseFrom(InputStream input)
public static GetDocumentResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GetDocumentResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GetDocumentResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GetDocumentResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public GetDocumentResponse getDefaultInstanceForType()
getDocument()
public Document getDocument()
.google.cloud.documentai.v1beta3.Document document = 1;
Returns |
---|
Type | Description |
Document | The document.
|
getDocumentOrBuilder()
public DocumentOrBuilder getDocumentOrBuilder()
.google.cloud.documentai.v1beta3.Document document = 1;
getParserForType()
public Parser<GetDocumentResponse> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hasDocument()
public boolean hasDocument()
.google.cloud.documentai.v1beta3.Document document = 1;
Returns |
---|
Type | Description |
boolean | Whether the document field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GetDocumentResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GetDocumentResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public GetDocumentResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides