Class GcsPrefix.Builder (2.87.0)

public static final class GcsPrefix.Builder extends GeneratedMessage.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

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

clearGcsUriPrefix()

public GcsPrefix.Builder clearGcsUriPrefix()

The URI prefix.

string gcs_uri_prefix = 1;

Returns
Type Description
GcsPrefix.Builder

This builder for chaining.

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 GeneratedMessage.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

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.