Class GcsPrefix.Builder (2.12.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.v1beta3.GcsPrefix

Implements

GcsPrefixOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GcsPrefix build()
Returns
TypeDescription
GcsPrefix

buildPartial()

public GcsPrefix buildPartial()
Returns
TypeDescription
GcsPrefix

clear()

public GcsPrefix.Builder clear()
Returns
TypeDescription
GcsPrefix.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearGcsUriPrefix()

public GcsPrefix.Builder clearGcsUriPrefix()

The URI prefix.

string gcs_uri_prefix = 1;

Returns
TypeDescription
GcsPrefix.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public GcsPrefix.Builder clone()
Returns
TypeDescription
GcsPrefix.Builder
Overrides

getDefaultInstanceForType()

public GcsPrefix getDefaultInstanceForType()
Returns
TypeDescription
GcsPrefix

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGcsUriPrefix()

public String getGcsUriPrefix()

The URI prefix.

string gcs_uri_prefix = 1;

Returns
TypeDescription
String

The gcsUriPrefix.

getGcsUriPrefixBytes()

public ByteString getGcsUriPrefixBytes()

The URI prefix.

string gcs_uri_prefix = 1;

Returns
TypeDescription
ByteString

The bytes for gcsUriPrefix.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GcsPrefix other)

public GcsPrefix.Builder mergeFrom(GcsPrefix other)
Parameter
NameDescription
otherGcsPrefix
Returns
TypeDescription
GcsPrefix.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcsUriPrefix(String value)

public GcsPrefix.Builder setGcsUriPrefix(String value)

The URI prefix.

string gcs_uri_prefix = 1;

Parameter
NameDescription
valueString

The gcsUriPrefix to set.

Returns
TypeDescription
GcsPrefix.Builder

This builder for chaining.

setGcsUriPrefixBytes(ByteString value)

public GcsPrefix.Builder setGcsUriPrefixBytes(ByteString value)

The URI prefix.

string gcs_uri_prefix = 1;

Parameter
NameDescription
valueByteString

The bytes for gcsUriPrefix to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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