public final class DocumentId extends com.google.protobuf.GeneratedMessageV3 implements DocumentIdOrBuilder
Document Identifier.Protobuf type
google.cloud.documentai.v1beta3.DocumentId| Modifier and Type | Class and Description |
|---|---|
static class |
DocumentId.Builder
Document Identifier.
|
static class |
DocumentId.GCSManagedDocumentId
Identifies a document uniquely within the scope of a dataset in the
user-managed Cloud Storage option.
|
static interface |
DocumentId.GCSManagedDocumentIdOrBuilder |
static class |
DocumentId.TypeCase |
static class |
DocumentId.UnmanagedDocumentId
Identifies a document uniquely within the scope of a dataset in unmanaged
option.
|
static interface |
DocumentId.UnmanagedDocumentIdOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
GCS_MANAGED_DOC_ID_FIELD_NUMBER |
static int |
REVISION_REF_FIELD_NUMBER |
static int |
UNMANAGED_DOC_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static DocumentId |
getDefaultInstance() |
DocumentId |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
DocumentId.GCSManagedDocumentId |
getGcsManagedDocId()
A document id within user-managed Cloud Storage.
|
DocumentId.GCSManagedDocumentIdOrBuilder |
getGcsManagedDocIdOrBuilder()
A document id within user-managed Cloud Storage.
|
com.google.protobuf.Parser<DocumentId> |
getParserForType() |
RevisionRef |
getRevisionRef()
Points to a specific revision of the document if set.
|
RevisionRefOrBuilder |
getRevisionRefOrBuilder()
Points to a specific revision of the document if set.
|
int |
getSerializedSize() |
DocumentId.TypeCase |
getTypeCase() |
DocumentId.UnmanagedDocumentId |
getUnmanagedDocId()
A document id within unmanaged dataset.
|
DocumentId.UnmanagedDocumentIdOrBuilder |
getUnmanagedDocIdOrBuilder()
A document id within unmanaged dataset.
|
boolean |
hasGcsManagedDocId()
A document id within user-managed Cloud Storage.
|
int |
hashCode() |
boolean |
hasRevisionRef()
Points to a specific revision of the document if set.
|
boolean |
hasUnmanagedDocId()
A document id within unmanaged dataset.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DocumentId.Builder |
newBuilder() |
static DocumentId.Builder |
newBuilder(DocumentId prototype) |
DocumentId.Builder |
newBuilderForType() |
protected DocumentId.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static DocumentId |
parseDelimitedFrom(InputStream input) |
static DocumentId |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DocumentId |
parseFrom(byte[] data) |
static DocumentId |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DocumentId |
parseFrom(ByteBuffer data) |
static DocumentId |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DocumentId |
parseFrom(com.google.protobuf.ByteString data) |
static DocumentId |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DocumentId |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DocumentId |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DocumentId |
parseFrom(InputStream input) |
static DocumentId |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DocumentId> |
parser() |
DocumentId.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int GCS_MANAGED_DOC_ID_FIELD_NUMBER
public static final int UNMANAGED_DOC_ID_FIELD_NUMBER
public static final int REVISION_REF_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public DocumentId.TypeCase getTypeCase()
getTypeCase in interface DocumentIdOrBuilderpublic boolean hasGcsManagedDocId()
A document id within user-managed Cloud Storage.
.google.cloud.documentai.v1beta3.DocumentId.GCSManagedDocumentId gcs_managed_doc_id = 1;
hasGcsManagedDocId in interface DocumentIdOrBuilderpublic DocumentId.GCSManagedDocumentId getGcsManagedDocId()
A document id within user-managed Cloud Storage.
.google.cloud.documentai.v1beta3.DocumentId.GCSManagedDocumentId gcs_managed_doc_id = 1;
getGcsManagedDocId in interface DocumentIdOrBuilderpublic DocumentId.GCSManagedDocumentIdOrBuilder getGcsManagedDocIdOrBuilder()
A document id within user-managed Cloud Storage.
.google.cloud.documentai.v1beta3.DocumentId.GCSManagedDocumentId gcs_managed_doc_id = 1;
getGcsManagedDocIdOrBuilder in interface DocumentIdOrBuilderpublic boolean hasUnmanagedDocId()
A document id within unmanaged dataset.
.google.cloud.documentai.v1beta3.DocumentId.UnmanagedDocumentId unmanaged_doc_id = 4;
hasUnmanagedDocId in interface DocumentIdOrBuilderpublic DocumentId.UnmanagedDocumentId getUnmanagedDocId()
A document id within unmanaged dataset.
.google.cloud.documentai.v1beta3.DocumentId.UnmanagedDocumentId unmanaged_doc_id = 4;
getUnmanagedDocId in interface DocumentIdOrBuilderpublic DocumentId.UnmanagedDocumentIdOrBuilder getUnmanagedDocIdOrBuilder()
A document id within unmanaged dataset.
.google.cloud.documentai.v1beta3.DocumentId.UnmanagedDocumentId unmanaged_doc_id = 4;
getUnmanagedDocIdOrBuilder in interface DocumentIdOrBuilderpublic boolean hasRevisionRef()
Points to a specific revision of the document if set.
.google.cloud.documentai.v1beta3.RevisionRef revision_ref = 3;hasRevisionRef in interface DocumentIdOrBuilderpublic RevisionRef getRevisionRef()
Points to a specific revision of the document if set.
.google.cloud.documentai.v1beta3.RevisionRef revision_ref = 3;getRevisionRef in interface DocumentIdOrBuilderpublic RevisionRefOrBuilder getRevisionRefOrBuilder()
Points to a specific revision of the document if set.
.google.cloud.documentai.v1beta3.RevisionRef revision_ref = 3;getRevisionRefOrBuilder in interface DocumentIdOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static DocumentId parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DocumentId parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DocumentId parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DocumentId parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DocumentId parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DocumentId parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DocumentId parseFrom(InputStream input) throws IOException
IOExceptionpublic static DocumentId parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DocumentId parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DocumentId parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DocumentId parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DocumentId parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DocumentId.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DocumentId.Builder newBuilder()
public static DocumentId.Builder newBuilder(DocumentId prototype)
public DocumentId.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DocumentId.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DocumentId getDefaultInstance()
public static com.google.protobuf.Parser<DocumentId> parser()
public com.google.protobuf.Parser<DocumentId> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DocumentId getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.