public static final class DocumentId.GCSManagedDocumentId.Builder extends GeneratedMessageV3.Builder<DocumentId.GCSManagedDocumentId.Builder> implements DocumentId.GCSManagedDocumentIdOrBuilder
Identifies a document uniquely within the scope of a dataset in the
user-managed Cloud Storage option.
Protobuf type google.cloud.documentai.v1beta3.DocumentId.GCSManagedDocumentId
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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.GCSManagedDocumentId.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DocumentId.GCSManagedDocumentId build()
buildPartial()
public DocumentId.GCSManagedDocumentId buildPartial()
clear()
public DocumentId.GCSManagedDocumentId.Builder clear()
Overrides
clearCwDocId() (deprecated)
public DocumentId.GCSManagedDocumentId.Builder clearCwDocId()
Deprecated. google.cloud.documentai.v1beta3.DocumentId.GCSManagedDocumentId.cw_doc_id is
deprecated. See google/cloud/documentai/v1beta3/dataset.proto;l=134
Id of the document (indexed) managed by Content Warehouse.
string cw_doc_id = 2 [deprecated = true];
clearField(Descriptors.FieldDescriptor field)
public DocumentId.GCSManagedDocumentId.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGcsUri()
public DocumentId.GCSManagedDocumentId.Builder clearGcsUri()
Required. The Cloud Storage URI where the actual document is stored.
string gcs_uri = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public DocumentId.GCSManagedDocumentId.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public DocumentId.GCSManagedDocumentId.Builder clone()
Overrides
getCwDocId() (deprecated)
public String getCwDocId()
Deprecated. google.cloud.documentai.v1beta3.DocumentId.GCSManagedDocumentId.cw_doc_id is
deprecated. See google/cloud/documentai/v1beta3/dataset.proto;l=134
Id of the document (indexed) managed by Content Warehouse.
string cw_doc_id = 2 [deprecated = true];
Returns |
Type |
Description |
String |
The cwDocId.
|
getCwDocIdBytes() (deprecated)
public ByteString getCwDocIdBytes()
Deprecated. google.cloud.documentai.v1beta3.DocumentId.GCSManagedDocumentId.cw_doc_id is
deprecated. See google/cloud/documentai/v1beta3/dataset.proto;l=134
Id of the document (indexed) managed by Content Warehouse.
string cw_doc_id = 2 [deprecated = true];
Returns |
Type |
Description |
ByteString |
The bytes for cwDocId.
|
getDefaultInstanceForType()
public DocumentId.GCSManagedDocumentId getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGcsUri()
public String getGcsUri()
Required. The Cloud Storage URI where the actual document is stored.
string gcs_uri = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The gcsUri.
|
getGcsUriBytes()
public ByteString getGcsUriBytes()
Required. The Cloud Storage URI where the actual document is stored.
string gcs_uri = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for gcsUri.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DocumentId.GCSManagedDocumentId other)
public DocumentId.GCSManagedDocumentId.Builder mergeFrom(DocumentId.GCSManagedDocumentId other)
public DocumentId.GCSManagedDocumentId.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DocumentId.GCSManagedDocumentId.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DocumentId.GCSManagedDocumentId.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCwDocId(String value) (deprecated)
public DocumentId.GCSManagedDocumentId.Builder setCwDocId(String value)
Deprecated. google.cloud.documentai.v1beta3.DocumentId.GCSManagedDocumentId.cw_doc_id is
deprecated. See google/cloud/documentai/v1beta3/dataset.proto;l=134
Id of the document (indexed) managed by Content Warehouse.
string cw_doc_id = 2 [deprecated = true];
Parameter |
Name |
Description |
value |
String
The cwDocId to set.
|
setCwDocIdBytes(ByteString value) (deprecated)
public DocumentId.GCSManagedDocumentId.Builder setCwDocIdBytes(ByteString value)
Deprecated. google.cloud.documentai.v1beta3.DocumentId.GCSManagedDocumentId.cw_doc_id is
deprecated. See google/cloud/documentai/v1beta3/dataset.proto;l=134
Id of the document (indexed) managed by Content Warehouse.
string cw_doc_id = 2 [deprecated = true];
Parameter |
Name |
Description |
value |
ByteString
The bytes for cwDocId to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public DocumentId.GCSManagedDocumentId.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGcsUri(String value)
public DocumentId.GCSManagedDocumentId.Builder setGcsUri(String value)
Required. The Cloud Storage URI where the actual document is stored.
string gcs_uri = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The gcsUri to set.
|
setGcsUriBytes(ByteString value)
public DocumentId.GCSManagedDocumentId.Builder setGcsUriBytes(ByteString value)
Required. The Cloud Storage URI where the actual document is stored.
string gcs_uri = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for gcsUri to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DocumentId.GCSManagedDocumentId.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DocumentId.GCSManagedDocumentId.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides