Class DocumentId.GCSManagedDocumentId.Builder (2.28.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DocumentId.GCSManagedDocumentId.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DocumentId.GCSManagedDocumentId.Builder
Overrides

build()

public DocumentId.GCSManagedDocumentId build()
Returns
TypeDescription
DocumentId.GCSManagedDocumentId

buildPartial()

public DocumentId.GCSManagedDocumentId buildPartial()
Returns
TypeDescription
DocumentId.GCSManagedDocumentId

clear()

public DocumentId.GCSManagedDocumentId.Builder clear()
Returns
TypeDescription
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=133

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

string cw_doc_id = 2 [deprecated = true];

Returns
TypeDescription
DocumentId.GCSManagedDocumentId.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DocumentId.GCSManagedDocumentId.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
DocumentId.GCSManagedDocumentId.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DocumentId.GCSManagedDocumentId.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DocumentId.GCSManagedDocumentId.Builder
Overrides

clone()

public DocumentId.GCSManagedDocumentId.Builder clone()
Returns
TypeDescription
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=133

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

string cw_doc_id = 2 [deprecated = true];

Returns
TypeDescription
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=133

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

string cw_doc_id = 2 [deprecated = true];

Returns
TypeDescription
ByteString

The bytes for cwDocId.

getDefaultInstanceForType()

public DocumentId.GCSManagedDocumentId getDefaultInstanceForType()
Returns
TypeDescription
DocumentId.GCSManagedDocumentId

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for gcsUri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DocumentId.GCSManagedDocumentId other)

public DocumentId.GCSManagedDocumentId.Builder mergeFrom(DocumentId.GCSManagedDocumentId other)
Parameter
NameDescription
otherDocumentId.GCSManagedDocumentId
Returns
TypeDescription
DocumentId.GCSManagedDocumentId.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DocumentId.GCSManagedDocumentId.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DocumentId.GCSManagedDocumentId.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DocumentId.GCSManagedDocumentId.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DocumentId.GCSManagedDocumentId.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DocumentId.GCSManagedDocumentId.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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=133

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

string cw_doc_id = 2 [deprecated = true];

Parameter
NameDescription
valueString

The cwDocId to set.

Returns
TypeDescription
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=133

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

string cw_doc_id = 2 [deprecated = true];

Parameter
NameDescription
valueByteString

The bytes for cwDocId to set.

Returns
TypeDescription
DocumentId.GCSManagedDocumentId.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DocumentId.GCSManagedDocumentId.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The gcsUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for gcsUri to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DocumentId.GCSManagedDocumentId.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DocumentId.GCSManagedDocumentId.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DocumentId.GCSManagedDocumentId.Builder
Overrides