public static final class CloudAIDocumentOption.Builder extends GeneratedMessageV3.Builder<CloudAIDocumentOption.Builder> implements CloudAIDocumentOptionOrBuilder
Request Option for processing Cloud AI Document in CW Document.
Protobuf type google.cloud.contentwarehouse.v1.CloudAIDocumentOption
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 CloudAIDocumentOption.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CloudAIDocumentOption build()
Returns
buildPartial()
public CloudAIDocumentOption buildPartial()
Returns
clear()
public CloudAIDocumentOption.Builder clear()
Returns
Overrides
clearCustomizedEntitiesPropertiesConversions()
public CloudAIDocumentOption.Builder clearCustomizedEntitiesPropertiesConversions()
Returns
clearEnableEntitiesConversions()
public CloudAIDocumentOption.Builder clearEnableEntitiesConversions()
Whether to convert all the entities to properties.
bool enable_entities_conversions = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public CloudAIDocumentOption.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudAIDocumentOption.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public CloudAIDocumentOption.Builder clone()
Returns
Overrides
containsCustomizedEntitiesPropertiesConversions(String key)
public boolean containsCustomizedEntitiesPropertiesConversions(String key)
If set, only selected entities will be converted to properties.
map<string, string> customized_entities_properties_conversions = 2;
Parameter
Returns
getCustomizedEntitiesPropertiesConversions()
public Map<String,String> getCustomizedEntitiesPropertiesConversions()
Returns
getCustomizedEntitiesPropertiesConversionsCount()
public int getCustomizedEntitiesPropertiesConversionsCount()
If set, only selected entities will be converted to properties.
map<string, string> customized_entities_properties_conversions = 2;
Returns
getCustomizedEntitiesPropertiesConversionsMap()
public Map<String,String> getCustomizedEntitiesPropertiesConversionsMap()
If set, only selected entities will be converted to properties.
map<string, string> customized_entities_properties_conversions = 2;
Returns
getCustomizedEntitiesPropertiesConversionsOrDefault(String key, String defaultValue)
public String getCustomizedEntitiesPropertiesConversionsOrDefault(String key, String defaultValue)
If set, only selected entities will be converted to properties.
map<string, string> customized_entities_properties_conversions = 2;
Parameters
Returns
getCustomizedEntitiesPropertiesConversionsOrThrow(String key)
public String getCustomizedEntitiesPropertiesConversionsOrThrow(String key)
If set, only selected entities will be converted to properties.
map<string, string> customized_entities_properties_conversions = 2;
Parameter
Returns
getDefaultInstanceForType()
public CloudAIDocumentOption getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEnableEntitiesConversions()
public boolean getEnableEntitiesConversions()
Whether to convert all the entities to properties.
bool enable_entities_conversions = 1;
Returns
Type | Description |
boolean | The enableEntitiesConversions.
|
getMutableCustomizedEntitiesPropertiesConversions()
public Map<String,String> getMutableCustomizedEntitiesPropertiesConversions()
Use alternate mutation accessors instead.
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CloudAIDocumentOption other)
public CloudAIDocumentOption.Builder mergeFrom(CloudAIDocumentOption other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CloudAIDocumentOption.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CloudAIDocumentOption.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudAIDocumentOption.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
putAllCustomizedEntitiesPropertiesConversions(Map<String,String> values)
public CloudAIDocumentOption.Builder putAllCustomizedEntitiesPropertiesConversions(Map<String,String> values)
If set, only selected entities will be converted to properties.
map<string, string> customized_entities_properties_conversions = 2;
Parameter
Returns
putCustomizedEntitiesPropertiesConversions(String key, String value)
public CloudAIDocumentOption.Builder putCustomizedEntitiesPropertiesConversions(String key, String value)
If set, only selected entities will be converted to properties.
map<string, string> customized_entities_properties_conversions = 2;
Parameters
Returns
removeCustomizedEntitiesPropertiesConversions(String key)
public CloudAIDocumentOption.Builder removeCustomizedEntitiesPropertiesConversions(String key)
If set, only selected entities will be converted to properties.
map<string, string> customized_entities_properties_conversions = 2;
Parameter
Returns
setEnableEntitiesConversions(boolean value)
public CloudAIDocumentOption.Builder setEnableEntitiesConversions(boolean value)
Whether to convert all the entities to properties.
bool enable_entities_conversions = 1;
Parameter
Name | Description |
value | boolean
The enableEntitiesConversions to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CloudAIDocumentOption.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudAIDocumentOption.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudAIDocumentOption.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides