Package com.google.cloud.documentai.v1
Class DocumentOutputConfig.GcsOutputConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DocumentOutputConfig.GcsOutputConfig.Builder>
com.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.Builder
- All Implemented Interfaces:
DocumentOutputConfig.GcsOutputConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DocumentOutputConfig.GcsOutputConfig
public static final class DocumentOutputConfig.GcsOutputConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DocumentOutputConfig.GcsOutputConfig.Builder>
implements DocumentOutputConfig.GcsOutputConfigOrBuilder
The configuration used when outputting documents.Protobuf type
google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Specifies which fields to include in the output documents.The Cloud Storage uri (a directory) of the output.Specifies the sharding config for the output document.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.FieldMaskSpecifies which fields to include in the output documents.com.google.protobuf.FieldMask.BuilderSpecifies which fields to include in the output documents.com.google.protobuf.FieldMaskOrBuilderSpecifies which fields to include in the output documents.The Cloud Storage uri (a directory) of the output.com.google.protobuf.ByteStringThe Cloud Storage uri (a directory) of the output.Specifies the sharding config for the output document.Specifies the sharding config for the output document.Specifies the sharding config for the output document.booleanSpecifies which fields to include in the output documents.booleanSpecifies the sharding config for the output document.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFieldMask(com.google.protobuf.FieldMask value) Specifies which fields to include in the output documents.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Specifies the sharding config for the output document.setFieldMask(com.google.protobuf.FieldMask value) Specifies which fields to include in the output documents.setFieldMask(com.google.protobuf.FieldMask.Builder builderForValue) Specifies which fields to include in the output documents.The Cloud Storage uri (a directory) of the output.setGcsUriBytes(com.google.protobuf.ByteString value) The Cloud Storage uri (a directory) of the output.Specifies the sharding config for the output document.Specifies the sharding config for the output document.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DocumentOutputConfig.GcsOutputConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DocumentOutputConfig.GcsOutputConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DocumentOutputConfig.GcsOutputConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DocumentOutputConfig.GcsOutputConfig.Builder>
-
mergeFrom
public DocumentOutputConfig.GcsOutputConfig.Builder mergeFrom(DocumentOutputConfig.GcsOutputConfig other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DocumentOutputConfig.GcsOutputConfig.Builder>
-
mergeFrom
public DocumentOutputConfig.GcsOutputConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DocumentOutputConfig.GcsOutputConfig.Builder>- Throws:
IOException
-
getGcsUri
The Cloud Storage uri (a directory) of the output.
string gcs_uri = 1;- Specified by:
getGcsUriin interfaceDocumentOutputConfig.GcsOutputConfigOrBuilder- Returns:
- The gcsUri.
-
getGcsUriBytes
public com.google.protobuf.ByteString getGcsUriBytes()The Cloud Storage uri (a directory) of the output.
string gcs_uri = 1;- Specified by:
getGcsUriBytesin interfaceDocumentOutputConfig.GcsOutputConfigOrBuilder- Returns:
- The bytes for gcsUri.
-
setGcsUri
The Cloud Storage uri (a directory) of the output.
string gcs_uri = 1;- Parameters:
value- The gcsUri to set.- Returns:
- This builder for chaining.
-
clearGcsUri
The Cloud Storage uri (a directory) of the output.
string gcs_uri = 1;- Returns:
- This builder for chaining.
-
setGcsUriBytes
public DocumentOutputConfig.GcsOutputConfig.Builder setGcsUriBytes(com.google.protobuf.ByteString value) The Cloud Storage uri (a directory) of the output.
string gcs_uri = 1;- Parameters:
value- The bytes for gcsUri to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasFieldMaskin interfaceDocumentOutputConfig.GcsOutputConfigOrBuilder- Returns:
- Whether the fieldMask field is set.
-
getFieldMask
public com.google.protobuf.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;- Specified by:
getFieldMaskin interfaceDocumentOutputConfig.GcsOutputConfigOrBuilder- Returns:
- The fieldMask.
-
setFieldMask
public DocumentOutputConfig.GcsOutputConfig.Builder setFieldMask(com.google.protobuf.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
public DocumentOutputConfig.GcsOutputConfig.Builder setFieldMask(com.google.protobuf.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; -
mergeFieldMask
public DocumentOutputConfig.GcsOutputConfig.Builder mergeFieldMask(com.google.protobuf.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; -
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; -
getFieldMaskBuilder
public com.google.protobuf.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 com.google.protobuf.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;- Specified by:
getFieldMaskOrBuilderin interfaceDocumentOutputConfig.GcsOutputConfigOrBuilder
-
hasShardingConfig
public boolean hasShardingConfig()Specifies the sharding config for the output document.
.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.ShardingConfig sharding_config = 3;- Specified by:
hasShardingConfigin interfaceDocumentOutputConfig.GcsOutputConfigOrBuilder- Returns:
- Whether the shardingConfig field is set.
-
getShardingConfig
Specifies the sharding config for the output document.
.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.ShardingConfig sharding_config = 3;- Specified by:
getShardingConfigin interfaceDocumentOutputConfig.GcsOutputConfigOrBuilder- Returns:
- The shardingConfig.
-
setShardingConfig
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
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; -
mergeShardingConfig
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; -
clearShardingConfig
Specifies the sharding config for the output document.
.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.ShardingConfig sharding_config = 3; -
getShardingConfigBuilder
Specifies the sharding config for the output document.
.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.ShardingConfig sharding_config = 3; -
getShardingConfigOrBuilder
Specifies the sharding config for the output document.
.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.ShardingConfig sharding_config = 3;- Specified by:
getShardingConfigOrBuilderin interfaceDocumentOutputConfig.GcsOutputConfigOrBuilder
-