public final class DocumentId extends GeneratedMessageV3 implements DocumentIdOrBuilder
Document Identifier.
Protobuf type google.cloud.documentai.v1beta3.DocumentId
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>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
GCS_MANAGED_DOC_ID_FIELD_NUMBER
public static final int GCS_MANAGED_DOC_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REVISION_REF_FIELD_NUMBER
public static final int REVISION_REF_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UNMANAGED_DOC_ID_FIELD_NUMBER
public static final int UNMANAGED_DOC_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DocumentId getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DocumentId.Builder newBuilder()
newBuilder(DocumentId prototype)
public static DocumentId.Builder newBuilder(DocumentId prototype)
public static DocumentId parseDelimitedFrom(InputStream input)
public static DocumentId parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DocumentId parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DocumentId parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DocumentId parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DocumentId parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DocumentId parseFrom(CodedInputStream input)
public static DocumentId parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DocumentId parseFrom(InputStream input)
public static DocumentId parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DocumentId parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DocumentId parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DocumentId> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public DocumentId getDefaultInstanceForType()
getGcsManagedDocId()
public DocumentId.GCSManagedDocumentId getGcsManagedDocId()
A document id within user-managed Cloud Storage.
.google.cloud.documentai.v1beta3.DocumentId.GCSManagedDocumentId gcs_managed_doc_id = 1;
getGcsManagedDocIdOrBuilder()
public DocumentId.GCSManagedDocumentIdOrBuilder getGcsManagedDocIdOrBuilder()
A document id within user-managed Cloud Storage.
.google.cloud.documentai.v1beta3.DocumentId.GCSManagedDocumentId gcs_managed_doc_id = 1;
getParserForType()
public Parser<DocumentId> getParserForType()
Overrides
getRevisionRef()
public RevisionRef getRevisionRef()
Points to a specific revision of the document if set.
.google.cloud.documentai.v1beta3.RevisionRef revision_ref = 3;
getRevisionRefOrBuilder()
public RevisionRefOrBuilder getRevisionRefOrBuilder()
Points to a specific revision of the document if set.
.google.cloud.documentai.v1beta3.RevisionRef revision_ref = 3;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getTypeCase()
public DocumentId.TypeCase getTypeCase()
getUnmanagedDocId()
public DocumentId.UnmanagedDocumentId getUnmanagedDocId()
A document id within unmanaged dataset.
.google.cloud.documentai.v1beta3.DocumentId.UnmanagedDocumentId unmanaged_doc_id = 4;
getUnmanagedDocIdOrBuilder()
public DocumentId.UnmanagedDocumentIdOrBuilder getUnmanagedDocIdOrBuilder()
A document id within unmanaged dataset.
.google.cloud.documentai.v1beta3.DocumentId.UnmanagedDocumentId unmanaged_doc_id = 4;
hasGcsManagedDocId()
public boolean hasGcsManagedDocId()
A document id within user-managed Cloud Storage.
.google.cloud.documentai.v1beta3.DocumentId.GCSManagedDocumentId gcs_managed_doc_id = 1;
Returns |
Type |
Description |
boolean |
Whether the gcsManagedDocId field is set.
|
hasRevisionRef()
public boolean hasRevisionRef()
Points to a specific revision of the document if set.
.google.cloud.documentai.v1beta3.RevisionRef revision_ref = 3;
Returns |
Type |
Description |
boolean |
Whether the revisionRef field is set.
|
hasUnmanagedDocId()
public boolean hasUnmanagedDocId()
A document id within unmanaged dataset.
.google.cloud.documentai.v1beta3.DocumentId.UnmanagedDocumentId unmanaged_doc_id = 4;
Returns |
Type |
Description |
boolean |
Whether the unmanagedDocId field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DocumentId.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DocumentId.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public DocumentId.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides