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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GcsPrefix.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public GcsPrefix buildPartial()
Returns
clear()
public GcsPrefix.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GcsPrefix.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGcsUriPrefix()
public GcsPrefix.Builder clearGcsUriPrefix()
The URI prefix.
string gcs_uri_prefix = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public GcsPrefix.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public GcsPrefix.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GcsPrefix getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GcsPrefix other)
public GcsPrefix.Builder mergeFrom(GcsPrefix other)
Parameter
Returns
public GcsPrefix.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GcsPrefix.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GcsPrefix.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GcsPrefix.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GcsPrefix.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GcsPrefix.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides