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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GcsPrefix.BuilderImplements
GcsPrefixOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GcsPrefix.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
GcsPrefix.Builder |
build()
public GcsPrefix build()
Type | Description |
GcsPrefix |
buildPartial()
public GcsPrefix buildPartial()
Type | Description |
GcsPrefix |
clear()
public GcsPrefix.Builder clear()
Type | Description |
GcsPrefix.Builder |
clearField(Descriptors.FieldDescriptor field)
public GcsPrefix.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
GcsPrefix.Builder |
clearGcsUriPrefix()
public GcsPrefix.Builder clearGcsUriPrefix()
The URI prefix.
string gcs_uri_prefix = 1;
Type | Description |
GcsPrefix.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GcsPrefix.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
GcsPrefix.Builder |
clone()
public GcsPrefix.Builder clone()
Type | Description |
GcsPrefix.Builder |
getDefaultInstanceForType()
public GcsPrefix getDefaultInstanceForType()
Type | Description |
GcsPrefix |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getGcsUriPrefix()
public String getGcsUriPrefix()
The URI prefix.
string gcs_uri_prefix = 1;
Type | Description |
String | The gcsUriPrefix. |
getGcsUriPrefixBytes()
public ByteString getGcsUriPrefixBytes()
The URI prefix.
string gcs_uri_prefix = 1;
Type | Description |
ByteString | The bytes for gcsUriPrefix. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(GcsPrefix other)
public GcsPrefix.Builder mergeFrom(GcsPrefix other)
Name | Description |
other | GcsPrefix |
Type | Description |
GcsPrefix.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GcsPrefix.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GcsPrefix.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public GcsPrefix.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
GcsPrefix.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GcsPrefix.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
GcsPrefix.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GcsPrefix.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
GcsPrefix.Builder |
setGcsUriPrefix(String value)
public GcsPrefix.Builder setGcsUriPrefix(String value)
The URI prefix.
string gcs_uri_prefix = 1;
Name | Description |
value | String The gcsUriPrefix to set. |
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;
Name | Description |
value | ByteString The bytes for gcsUriPrefix to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
GcsPrefix.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GcsPrefix.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
GcsPrefix.Builder |