public static final class DocumentOutputConfig.Builder extends GeneratedMessageV3.Builder<DocumentOutputConfig.Builder> implements DocumentOutputConfigOrBuilder
Config that controls the output of documents. All documents will be written
as a JSON file.
Protobuf type google.cloud.documentai.v1.DocumentOutputConfig
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.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DocumentOutputConfig build()
Returns
buildPartial()
public DocumentOutputConfig buildPartial()
Returns
clear()
public DocumentOutputConfig.Builder clear()
Returns
Overrides
clearDestination()
public DocumentOutputConfig.Builder clearDestination()
Returns
clearField(Descriptors.FieldDescriptor field)
public DocumentOutputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGcsOutputConfig()
public DocumentOutputConfig.Builder clearGcsOutputConfig()
Output config to write the results to Cloud Storage.
.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public DocumentOutputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public DocumentOutputConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DocumentOutputConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDestinationCase()
public DocumentOutputConfig.DestinationCase getDestinationCase()
Returns
getGcsOutputConfig()
public DocumentOutputConfig.GcsOutputConfig getGcsOutputConfig()
Output config to write the results to Cloud Storage.
.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;
Returns
getGcsOutputConfigBuilder()
public DocumentOutputConfig.GcsOutputConfig.Builder getGcsOutputConfigBuilder()
Output config to write the results to Cloud Storage.
.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;
Returns
getGcsOutputConfigOrBuilder()
public DocumentOutputConfig.GcsOutputConfigOrBuilder getGcsOutputConfigOrBuilder()
Output config to write the results to Cloud Storage.
.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;
Returns
hasGcsOutputConfig()
public boolean hasGcsOutputConfig()
Output config to write the results to Cloud Storage.
.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;
Returns
Type | Description |
boolean | Whether the gcsOutputConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DocumentOutputConfig other)
public DocumentOutputConfig.Builder mergeFrom(DocumentOutputConfig other)
Parameter
Returns
public DocumentOutputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DocumentOutputConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeGcsOutputConfig(DocumentOutputConfig.GcsOutputConfig value)
public DocumentOutputConfig.Builder mergeGcsOutputConfig(DocumentOutputConfig.GcsOutputConfig value)
Output config to write the results to Cloud Storage.
.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DocumentOutputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DocumentOutputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setGcsOutputConfig(DocumentOutputConfig.GcsOutputConfig value)
public DocumentOutputConfig.Builder setGcsOutputConfig(DocumentOutputConfig.GcsOutputConfig value)
Output config to write the results to Cloud Storage.
.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;
Parameter
Returns
setGcsOutputConfig(DocumentOutputConfig.GcsOutputConfig.Builder builderForValue)
public DocumentOutputConfig.Builder setGcsOutputConfig(DocumentOutputConfig.GcsOutputConfig.Builder builderForValue)
Output config to write the results to Cloud Storage.
.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DocumentOutputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DocumentOutputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides