public static final class DocumentOutputConfig.GcsOutputConfig.Builder extends GeneratedMessageV3.Builder<DocumentOutputConfig.GcsOutputConfig.Builder> implements DocumentOutputConfig.GcsOutputConfigOrBuilder
The configuration used when outputting documents.
Protobuf type google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig
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 DocumentOutputConfig.GcsOutputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DocumentOutputConfig.GcsOutputConfig build()
Returns
buildPartial()
public DocumentOutputConfig.GcsOutputConfig buildPartial()
Returns
clear()
public DocumentOutputConfig.GcsOutputConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public DocumentOutputConfig.GcsOutputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearFieldMask()
public DocumentOutputConfig.GcsOutputConfig.Builder clearFieldMask()
Specifies which fields to include in the output documents.
Only supports top level document and pages field so it must be in the
form of {document_field_name}
or pages.{page_field_name}
.
.google.protobuf.FieldMask field_mask = 2;
Returns
clearGcsUri()
public DocumentOutputConfig.GcsOutputConfig.Builder clearGcsUri()
The Cloud Storage uri (a directory) of the output.
string gcs_uri = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public DocumentOutputConfig.GcsOutputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearShardingConfig()
public DocumentOutputConfig.GcsOutputConfig.Builder clearShardingConfig()
Specifies the sharding config for the output document.
.google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig.ShardingConfig sharding_config = 3;
Returns
clone()
public DocumentOutputConfig.GcsOutputConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DocumentOutputConfig.GcsOutputConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFieldMask()
public FieldMask getFieldMask()
Specifies which fields to include in the output documents.
Only supports top level document and pages field so it must be in the
form of {document_field_name}
or pages.{page_field_name}
.
.google.protobuf.FieldMask field_mask = 2;
Returns
getFieldMaskBuilder()
public FieldMask.Builder getFieldMaskBuilder()
Specifies which fields to include in the output documents.
Only supports top level document and pages field so it must be in the
form of {document_field_name}
or pages.{page_field_name}
.
.google.protobuf.FieldMask field_mask = 2;
Returns
getFieldMaskOrBuilder()
public FieldMaskOrBuilder getFieldMaskOrBuilder()
Specifies which fields to include in the output documents.
Only supports top level document and pages field so it must be in the
form of {document_field_name}
or pages.{page_field_name}
.
.google.protobuf.FieldMask field_mask = 2;
Returns
getGcsUri()
public String getGcsUri()
The Cloud Storage uri (a directory) of the output.
string gcs_uri = 1;
Returns
Type | Description |
String | The gcsUri.
|
getGcsUriBytes()
public ByteString getGcsUriBytes()
The Cloud Storage uri (a directory) of the output.
string gcs_uri = 1;
Returns
getShardingConfig()
public DocumentOutputConfig.GcsOutputConfig.ShardingConfig getShardingConfig()
Specifies the sharding config for the output document.
.google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig.ShardingConfig sharding_config = 3;
Returns
getShardingConfigBuilder()
public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder getShardingConfigBuilder()
Specifies the sharding config for the output document.
.google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig.ShardingConfig sharding_config = 3;
Returns
getShardingConfigOrBuilder()
public DocumentOutputConfig.GcsOutputConfig.ShardingConfigOrBuilder getShardingConfigOrBuilder()
Specifies the sharding config for the output document.
.google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig.ShardingConfig sharding_config = 3;
Returns
hasFieldMask()
public boolean hasFieldMask()
Specifies which fields to include in the output documents.
Only supports top level document and pages field so it must be in the
form of {document_field_name}
or pages.{page_field_name}
.
.google.protobuf.FieldMask field_mask = 2;
Returns
Type | Description |
boolean | Whether the fieldMask field is set.
|
hasShardingConfig()
public boolean hasShardingConfig()
Specifies the sharding config for the output document.
.google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig.ShardingConfig sharding_config = 3;
Returns
Type | Description |
boolean | Whether the shardingConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFieldMask(FieldMask value)
public DocumentOutputConfig.GcsOutputConfig.Builder mergeFieldMask(FieldMask value)
Specifies which fields to include in the output documents.
Only supports top level document and pages field so it must be in the
form of {document_field_name}
or pages.{page_field_name}
.
.google.protobuf.FieldMask field_mask = 2;
Parameter
Returns
mergeFrom(DocumentOutputConfig.GcsOutputConfig other)
public DocumentOutputConfig.GcsOutputConfig.Builder mergeFrom(DocumentOutputConfig.GcsOutputConfig other)
Parameter
Returns
public DocumentOutputConfig.GcsOutputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DocumentOutputConfig.GcsOutputConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeShardingConfig(DocumentOutputConfig.GcsOutputConfig.ShardingConfig value)
public DocumentOutputConfig.GcsOutputConfig.Builder mergeShardingConfig(DocumentOutputConfig.GcsOutputConfig.ShardingConfig value)
Specifies the sharding config for the output document.
.google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig.ShardingConfig sharding_config = 3;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DocumentOutputConfig.GcsOutputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DocumentOutputConfig.GcsOutputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setFieldMask(FieldMask value)
public DocumentOutputConfig.GcsOutputConfig.Builder setFieldMask(FieldMask value)
Specifies which fields to include in the output documents.
Only supports top level document and pages field so it must be in the
form of {document_field_name}
or pages.{page_field_name}
.
.google.protobuf.FieldMask field_mask = 2;
Parameter
Returns
setFieldMask(FieldMask.Builder builderForValue)
public DocumentOutputConfig.GcsOutputConfig.Builder setFieldMask(FieldMask.Builder builderForValue)
Specifies which fields to include in the output documents.
Only supports top level document and pages field so it must be in the
form of {document_field_name}
or pages.{page_field_name}
.
.google.protobuf.FieldMask field_mask = 2;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setGcsUri(String value)
public DocumentOutputConfig.GcsOutputConfig.Builder setGcsUri(String value)
The Cloud Storage uri (a directory) of the output.
string gcs_uri = 1;
Parameter
Name | Description |
value | String
The gcsUri to set.
|
Returns
setGcsUriBytes(ByteString value)
public DocumentOutputConfig.GcsOutputConfig.Builder setGcsUriBytes(ByteString value)
The Cloud Storage uri (a directory) of the output.
string gcs_uri = 1;
Parameter
Name | Description |
value | ByteString
The bytes for gcsUri to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DocumentOutputConfig.GcsOutputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setShardingConfig(DocumentOutputConfig.GcsOutputConfig.ShardingConfig value)
public DocumentOutputConfig.GcsOutputConfig.Builder setShardingConfig(DocumentOutputConfig.GcsOutputConfig.ShardingConfig value)
Specifies the sharding config for the output document.
.google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig.ShardingConfig sharding_config = 3;
Parameter
Returns
setShardingConfig(DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder builderForValue)
public DocumentOutputConfig.GcsOutputConfig.Builder setShardingConfig(DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder builderForValue)
Specifies the sharding config for the output document.
.google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig.ShardingConfig sharding_config = 3;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final DocumentOutputConfig.GcsOutputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides