Class DocumentOutputConfig.GcsOutputConfig.Builder (2.1.9)

public static final class DocumentOutputConfig.GcsOutputConfig.Builder extends GeneratedMessageV3.Builder<DocumentOutputConfig.GcsOutputConfig.Builder> implements DocumentOutputConfig.GcsOutputConfigOrBuilder

The configuration used when outputting documents.

Protobuf type google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DocumentOutputConfig.GcsOutputConfig build()
Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig

buildPartial()

public DocumentOutputConfig.GcsOutputConfig buildPartial()
Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig

clear()

public DocumentOutputConfig.GcsOutputConfig.Builder clear()
Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DocumentOutputConfig.GcsOutputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig.Builder
Overrides

clearGcsUri()

public DocumentOutputConfig.GcsOutputConfig.Builder clearGcsUri()

The Cloud Storage uri (a directory) of the output.

string gcs_uri = 1;

Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DocumentOutputConfig.GcsOutputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig.Builder
Overrides

clone()

public DocumentOutputConfig.GcsOutputConfig.Builder clone()
Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig.Builder
Overrides

getDefaultInstanceForType()

public DocumentOutputConfig.GcsOutputConfig getDefaultInstanceForType()
Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGcsUri()

public String getGcsUri()

The Cloud Storage uri (a directory) of the output.

string gcs_uri = 1;

Returns
TypeDescription
String

The gcsUri.

getGcsUriBytes()

public ByteString getGcsUriBytes()

The Cloud Storage uri (a directory) of the output.

string gcs_uri = 1;

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(DocumentOutputConfig.GcsOutputConfig other)

public DocumentOutputConfig.GcsOutputConfig.Builder mergeFrom(DocumentOutputConfig.GcsOutputConfig other)
Parameter
NameDescription
otherDocumentOutputConfig.GcsOutputConfig
Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public DocumentOutputConfig.GcsOutputConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DocumentOutputConfig.GcsOutputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DocumentOutputConfig.GcsOutputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig.Builder
Overrides

setGcsUri(String value)

public DocumentOutputConfig.GcsOutputConfig.Builder setGcsUri(String value)

The Cloud Storage uri (a directory) of the output.

string gcs_uri = 1;

Parameter
NameDescription
valueString

The gcsUri to set.

Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig.Builder

This builder for chaining.

setGcsUriBytes(ByteString value)

public DocumentOutputConfig.GcsOutputConfig.Builder setGcsUriBytes(ByteString value)

The Cloud Storage uri (a directory) of the output.

string gcs_uri = 1;

Parameter
NameDescription
valueByteString

The bytes for gcsUri to set.

Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig.Builder

This builder for chaining.

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

public DocumentOutputConfig.GcsOutputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DocumentOutputConfig.GcsOutputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DocumentOutputConfig.GcsOutputConfig.Builder
Overrides