Class GcsPrefix.Builder (2.50.0)

public static final class GcsPrefix.Builder extends GeneratedMessageV3.Builder<GcsPrefix.Builder> implements GcsPrefixOrBuilder

Specifies all documents on Cloud Storage with a common prefix.

Protobuf type google.cloud.documentai.v1.GcsPrefix

Implements

GcsPrefixOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GcsPrefix build()
Returns
Type Description
GcsPrefix

buildPartial()

public GcsPrefix buildPartial()
Returns
Type Description
GcsPrefix

clear()

public GcsPrefix.Builder clear()
Returns
Type Description
GcsPrefix.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GcsPrefix.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GcsPrefix.Builder
Overrides

clearGcsUriPrefix()

public GcsPrefix.Builder clearGcsUriPrefix()

The URI prefix.

string gcs_uri_prefix = 1;

Returns
Type Description
GcsPrefix.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public GcsPrefix.Builder clone()
Returns
Type Description
GcsPrefix.Builder
Overrides

getDefaultInstanceForType()

public GcsPrefix getDefaultInstanceForType()
Returns
Type Description
GcsPrefix

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGcsUriPrefix()

public String getGcsUriPrefix()

The URI prefix.

string gcs_uri_prefix = 1;

Returns
Type Description
String

The gcsUriPrefix.

getGcsUriPrefixBytes()

public ByteString getGcsUriPrefixBytes()

The URI prefix.

string gcs_uri_prefix = 1;

Returns
Type Description
ByteString

The bytes for gcsUriPrefix.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GcsPrefix other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GcsPrefix.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GcsPrefix.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GcsPrefix.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GcsPrefix.Builder
Overrides

setGcsUriPrefix(String value)

public GcsPrefix.Builder setGcsUriPrefix(String value)

The URI prefix.

string gcs_uri_prefix = 1;

Parameter
Name Description
value String

The gcsUriPrefix to set.

Returns
Type Description
GcsPrefix.Builder

This builder for chaining.

setGcsUriPrefixBytes(ByteString value)

public GcsPrefix.Builder setGcsUriPrefixBytes(ByteString value)

The URI prefix.

string gcs_uri_prefix = 1;

Parameter
Name Description
value ByteString

The bytes for gcsUriPrefix to set.

Returns
Type Description
GcsPrefix.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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