Class DocumentId.GCSManagedDocumentId.Builder (2.58.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DocumentId.GCSManagedDocumentId.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DocumentId.GCSManagedDocumentId.Builder
Overrides

build()

public DocumentId.GCSManagedDocumentId build()
Returns
Type Description
DocumentId.GCSManagedDocumentId

buildPartial()

public DocumentId.GCSManagedDocumentId buildPartial()
Returns
Type Description
DocumentId.GCSManagedDocumentId

clear()

public DocumentId.GCSManagedDocumentId.Builder clear()
Returns
Type Description
DocumentId.GCSManagedDocumentId.Builder
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=140

Id of the document (indexed) managed by Content Warehouse.

string cw_doc_id = 2 [deprecated = true];

Returns
Type Description
DocumentId.GCSManagedDocumentId.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DocumentId.GCSManagedDocumentId.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DocumentId.GCSManagedDocumentId.Builder
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];

Returns
Type Description
DocumentId.GCSManagedDocumentId.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DocumentId.GCSManagedDocumentId.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DocumentId.GCSManagedDocumentId.Builder
Overrides

clone()

public DocumentId.GCSManagedDocumentId.Builder clone()
Returns
Type Description
DocumentId.GCSManagedDocumentId.Builder
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=140

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=140

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()
Returns
Type Description
DocumentId.GCSManagedDocumentId

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DocumentId.GCSManagedDocumentId other)

public DocumentId.GCSManagedDocumentId.Builder mergeFrom(DocumentId.GCSManagedDocumentId other)
Parameter
Name Description
other DocumentId.GCSManagedDocumentId
Returns
Type Description
DocumentId.GCSManagedDocumentId.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DocumentId.GCSManagedDocumentId.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DocumentId.GCSManagedDocumentId.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DocumentId.GCSManagedDocumentId.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DocumentId.GCSManagedDocumentId.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DocumentId.GCSManagedDocumentId.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DocumentId.GCSManagedDocumentId.Builder
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=140

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.

Returns
Type Description
DocumentId.GCSManagedDocumentId.Builder

This builder for chaining.

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=140

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.

Returns
Type Description
DocumentId.GCSManagedDocumentId.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DocumentId.GCSManagedDocumentId.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DocumentId.GCSManagedDocumentId.Builder
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.

Returns
Type Description
DocumentId.GCSManagedDocumentId.Builder

This builder for chaining.

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.

Returns
Type Description
DocumentId.GCSManagedDocumentId.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DocumentId.GCSManagedDocumentId.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DocumentId.GCSManagedDocumentId.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DocumentId.GCSManagedDocumentId.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DocumentId.GCSManagedDocumentId.Builder
Overrides