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.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 CloudAIDocumentOption.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CloudAIDocumentOption build()
buildPartial()
public CloudAIDocumentOption buildPartial()
clear()
public CloudAIDocumentOption.Builder clear()
Overrides
clearCustomizedEntitiesPropertiesConversions()
public CloudAIDocumentOption.Builder clearCustomizedEntitiesPropertiesConversions()
clearEnableEntitiesConversions()
public CloudAIDocumentOption.Builder clearEnableEntitiesConversions()
Whether to convert all the entities to properties.
bool enable_entities_conversions = 1;
clearField(Descriptors.FieldDescriptor field)
public CloudAIDocumentOption.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudAIDocumentOption.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public CloudAIDocumentOption.Builder clone()
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 |
---|
Name | Description |
key | String
|
getCustomizedEntitiesPropertiesConversions() (deprecated)
public Map<String,String> getCustomizedEntitiesPropertiesConversions()
getCustomizedEntitiesPropertiesConversionsCount()
public int getCustomizedEntitiesPropertiesConversionsCount()
If set, only selected entities will be converted to properties.
map<string, string> customized_entities_properties_conversions = 2;
Returns |
---|
Type | Description |
int | |
getCustomizedEntitiesPropertiesConversionsMap()
public Map<String,String> getCustomizedEntitiesPropertiesConversionsMap()
If set, only selected entities will be converted to properties.
map<string, string> customized_entities_properties_conversions = 2;
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;
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 |
---|
Name | Description |
key | String
|
getDefaultInstanceForType()
public CloudAIDocumentOption getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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() (deprecated)
public Map<String,String> getMutableCustomizedEntitiesPropertiesConversions()
Use alternate mutation accessors instead.
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
---|
Name | Description |
number | int
|
Returns |
---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor | |
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
---|
Name | Description |
number | int
|
Returns |
---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor | |
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CloudAIDocumentOption other)
public CloudAIDocumentOption.Builder mergeFrom(CloudAIDocumentOption other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CloudAIDocumentOption.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CloudAIDocumentOption.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudAIDocumentOption.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
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 |
---|
Name | Description |
key | String
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public CloudAIDocumentOption.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudAIDocumentOption.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudAIDocumentOption.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides