public static final class DocumentId.Builder extends GeneratedMessageV3.Builder<DocumentId.Builder> implements DocumentIdOrBuilder
Document Identifier.
Protobuf type google.cloud.documentai.v1beta3.DocumentId
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DocumentId.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DocumentId build()
buildPartial()
public DocumentId buildPartial()
clear()
public DocumentId.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public DocumentId.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGcsManagedDocId()
public DocumentId.Builder clearGcsManagedDocId()
A document id within user-managed Cloud Storage.
.google.cloud.documentai.v1beta3.DocumentId.GCSManagedDocumentId gcs_managed_doc_id = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public DocumentId.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRevisionRef()
public DocumentId.Builder clearRevisionRef()
Points to a specific revision of the document if set.
.google.cloud.documentai.v1beta3.RevisionRef revision_ref = 3;
clearType()
public DocumentId.Builder clearType()
clearUnmanagedDocId()
public DocumentId.Builder clearUnmanagedDocId()
A document id within unmanaged dataset.
.google.cloud.documentai.v1beta3.DocumentId.UnmanagedDocumentId unmanaged_doc_id = 4;
clone()
public DocumentId.Builder clone()
Overrides
getDefaultInstanceForType()
public DocumentId getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGcsManagedDocId()
public DocumentId.GCSManagedDocumentId getGcsManagedDocId()
A document id within user-managed Cloud Storage.
.google.cloud.documentai.v1beta3.DocumentId.GCSManagedDocumentId gcs_managed_doc_id = 1;
getGcsManagedDocIdBuilder()
public DocumentId.GCSManagedDocumentId.Builder getGcsManagedDocIdBuilder()
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;
getRevisionRef()
public RevisionRef getRevisionRef()
Points to a specific revision of the document if set.
.google.cloud.documentai.v1beta3.RevisionRef revision_ref = 3;
getRevisionRefBuilder()
public RevisionRef.Builder getRevisionRefBuilder()
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;
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;
getUnmanagedDocIdBuilder()
public DocumentId.UnmanagedDocumentId.Builder getUnmanagedDocIdBuilder()
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DocumentId other)
public DocumentId.Builder mergeFrom(DocumentId other)
public DocumentId.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DocumentId.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeGcsManagedDocId(DocumentId.GCSManagedDocumentId value)
public DocumentId.Builder mergeGcsManagedDocId(DocumentId.GCSManagedDocumentId value)
A document id within user-managed Cloud Storage.
.google.cloud.documentai.v1beta3.DocumentId.GCSManagedDocumentId gcs_managed_doc_id = 1;
mergeRevisionRef(RevisionRef value)
public DocumentId.Builder mergeRevisionRef(RevisionRef value)
Points to a specific revision of the document if set.
.google.cloud.documentai.v1beta3.RevisionRef revision_ref = 3;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DocumentId.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUnmanagedDocId(DocumentId.UnmanagedDocumentId value)
public DocumentId.Builder mergeUnmanagedDocId(DocumentId.UnmanagedDocumentId value)
A document id within unmanaged dataset.
.google.cloud.documentai.v1beta3.DocumentId.UnmanagedDocumentId unmanaged_doc_id = 4;
setField(Descriptors.FieldDescriptor field, Object value)
public DocumentId.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGcsManagedDocId(DocumentId.GCSManagedDocumentId value)
public DocumentId.Builder setGcsManagedDocId(DocumentId.GCSManagedDocumentId value)
A document id within user-managed Cloud Storage.
.google.cloud.documentai.v1beta3.DocumentId.GCSManagedDocumentId gcs_managed_doc_id = 1;
setGcsManagedDocId(DocumentId.GCSManagedDocumentId.Builder builderForValue)
public DocumentId.Builder setGcsManagedDocId(DocumentId.GCSManagedDocumentId.Builder builderForValue)
A document id within user-managed Cloud Storage.
.google.cloud.documentai.v1beta3.DocumentId.GCSManagedDocumentId gcs_managed_doc_id = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DocumentId.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRevisionRef(RevisionRef value)
public DocumentId.Builder setRevisionRef(RevisionRef value)
Points to a specific revision of the document if set.
.google.cloud.documentai.v1beta3.RevisionRef revision_ref = 3;
setRevisionRef(RevisionRef.Builder builderForValue)
public DocumentId.Builder setRevisionRef(RevisionRef.Builder builderForValue)
Points to a specific revision of the document if set.
.google.cloud.documentai.v1beta3.RevisionRef revision_ref = 3;
setUnknownFields(UnknownFieldSet unknownFields)
public final DocumentId.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUnmanagedDocId(DocumentId.UnmanagedDocumentId value)
public DocumentId.Builder setUnmanagedDocId(DocumentId.UnmanagedDocumentId value)
A document id within unmanaged dataset.
.google.cloud.documentai.v1beta3.DocumentId.UnmanagedDocumentId unmanaged_doc_id = 4;
setUnmanagedDocId(DocumentId.UnmanagedDocumentId.Builder builderForValue)
public DocumentId.Builder setUnmanagedDocId(DocumentId.UnmanagedDocumentId.Builder builderForValue)
A document id within unmanaged dataset.
.google.cloud.documentai.v1beta3.DocumentId.UnmanagedDocumentId unmanaged_doc_id = 4;