public final class GcsDocument extends GeneratedMessageV3 implements GcsDocumentOrBuilder
Specifies a document stored on Cloud Storage.
Protobuf type google.cloud.documentai.v1beta3.GcsDocument
Fields
GCS_URI_FIELD_NUMBER
public static final int GCS_URI_FIELD_NUMBER
Field Value
MIME_TYPE_FIELD_NUMBER
public static final int MIME_TYPE_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static GcsDocument getDefaultInstance()
Returns
getDefaultInstanceForType()
public GcsDocument getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getGcsUri()
public String getGcsUri()
The Cloud Storage object uri.
string gcs_uri = 1;
Returns
Type | Description |
String | The gcsUri.
|
getGcsUriBytes()
public ByteString getGcsUriBytes()
The Cloud Storage object uri.
string gcs_uri = 1;
Returns
getMimeType()
public String getMimeType()
An IANA MIME type (RFC6838) of the content.
string mime_type = 2;
Returns
Type | Description |
String | The mimeType.
|
getMimeTypeBytes()
public ByteString getMimeTypeBytes()
An IANA MIME type (RFC6838) of the content.
string mime_type = 2;
Returns
getParserForType()
public Parser<GcsDocument> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static GcsDocument.Builder newBuilder()
Returns
newBuilder(GcsDocument prototype)
public static GcsDocument.Builder newBuilder(GcsDocument prototype)
Parameter
Returns
newBuilderForType()
public GcsDocument.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GcsDocument.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static GcsDocument parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static GcsDocument parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static GcsDocument parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GcsDocument parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static GcsDocument parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GcsDocument parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GcsDocument parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static GcsDocument parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GcsDocument parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static GcsDocument parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static GcsDocument parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GcsDocument parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<GcsDocument> parser()
Returns
toBuilder()
public GcsDocument.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions