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.v1.DocumentOutputConfig.GcsOutputConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DocumentOutputConfig.GcsOutputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DocumentOutputConfig.GcsOutputConfig build()
buildPartial()
public DocumentOutputConfig.GcsOutputConfig buildPartial()
clear()
public DocumentOutputConfig.GcsOutputConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public DocumentOutputConfig.GcsOutputConfig.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearGcsUri()
public DocumentOutputConfig.GcsOutputConfig.Builder clearGcsUri()
The Cloud Storage uri (a directory) of the output.
string gcs_uri = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public DocumentOutputConfig.GcsOutputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearShardingConfig()
public DocumentOutputConfig.GcsOutputConfig.Builder clearShardingConfig()
Specifies the sharding config for the output document.
.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.ShardingConfig sharding_config = 3;
clone()
public DocumentOutputConfig.GcsOutputConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public DocumentOutputConfig.GcsOutputConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Type |
Description |
FieldMask |
The fieldMask.
|
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;
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;
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 |
Type |
Description |
ByteString |
The bytes for gcsUri.
|
getShardingConfig()
public DocumentOutputConfig.GcsOutputConfig.ShardingConfig getShardingConfig()
Specifies the sharding config for the output document.
.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.ShardingConfig sharding_config = 3;
getShardingConfigBuilder()
public DocumentOutputConfig.GcsOutputConfig.ShardingConfig.Builder getShardingConfigBuilder()
Specifies the sharding config for the output document.
.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.ShardingConfig sharding_config = 3;
getShardingConfigOrBuilder()
public DocumentOutputConfig.GcsOutputConfig.ShardingConfigOrBuilder getShardingConfigOrBuilder()
Specifies the sharding config for the output document.
.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.ShardingConfig sharding_config = 3;
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.v1.DocumentOutputConfig.GcsOutputConfig.ShardingConfig sharding_config = 3;
Returns |
Type |
Description |
boolean |
Whether the shardingConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeFrom(DocumentOutputConfig.GcsOutputConfig other)
public DocumentOutputConfig.GcsOutputConfig.Builder mergeFrom(DocumentOutputConfig.GcsOutputConfig other)
public DocumentOutputConfig.GcsOutputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DocumentOutputConfig.GcsOutputConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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.v1.DocumentOutputConfig.GcsOutputConfig.ShardingConfig sharding_config = 3;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DocumentOutputConfig.GcsOutputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DocumentOutputConfig.GcsOutputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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
|
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DocumentOutputConfig.GcsOutputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.v1.DocumentOutputConfig.GcsOutputConfig.ShardingConfig sharding_config = 3;
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.v1.DocumentOutputConfig.GcsOutputConfig.ShardingConfig sharding_config = 3;
setUnknownFields(UnknownFieldSet unknownFields)
public final DocumentOutputConfig.GcsOutputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides