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.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.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DocumentOutputConfig build()
buildPartial()
public DocumentOutputConfig buildPartial()
clear()
public DocumentOutputConfig.Builder clear()
Overrides
clearDestination()
public DocumentOutputConfig.Builder clearDestination()
clearField(Descriptors.FieldDescriptor field)
public DocumentOutputConfig.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public DocumentOutputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public DocumentOutputConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public DocumentOutputConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDestinationCase()
public DocumentOutputConfig.DestinationCase getDestinationCase()
getGcsOutputConfig()
public DocumentOutputConfig.GcsOutputConfig getGcsOutputConfig()
Output config to write the results to Cloud Storage.
.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;
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;
getGcsOutputConfigOrBuilder()
public DocumentOutputConfig.GcsOutputConfigOrBuilder getGcsOutputConfigOrBuilder()
Output config to write the results to Cloud Storage.
.google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DocumentOutputConfig other)
public DocumentOutputConfig.Builder mergeFrom(DocumentOutputConfig other)
public DocumentOutputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DocumentOutputConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DocumentOutputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DocumentOutputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DocumentOutputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DocumentOutputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides