public final class GcsDocument extends GeneratedMessageV3 implements GcsDocumentOrBuilder
Specifies a document stored on Cloud Storage.
Protobuf type google.cloud.documentai.v1.GcsDocument
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
GCS_URI_FIELD_NUMBER
public static final int GCS_URI_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MIME_TYPE_FIELD_NUMBER
public static final int MIME_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static GcsDocument getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GcsDocument.Builder newBuilder()
newBuilder(GcsDocument prototype)
public static GcsDocument.Builder newBuilder(GcsDocument prototype)
public static GcsDocument parseDelimitedFrom(InputStream input)
public static GcsDocument parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GcsDocument parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GcsDocument parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GcsDocument parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GcsDocument parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GcsDocument parseFrom(CodedInputStream input)
public static GcsDocument parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GcsDocument parseFrom(InputStream input)
public static GcsDocument parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GcsDocument parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GcsDocument parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GcsDocument> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public GcsDocument getDefaultInstanceForType()
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 |
---|
Type | Description |
ByteString | The bytes for gcsUri.
|
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 |
---|
Type | Description |
ByteString | The bytes for mimeType.
|
getParserForType()
public Parser<GcsDocument> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GcsDocument.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GcsDocument.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public GcsDocument.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides