public final class CloudAIDocumentOption extends GeneratedMessageV3 implements CloudAIDocumentOptionOrBuilder
Request Option for processing Cloud AI Document in CW Document.
Protobuf type google.cloud.contentwarehouse.v1.CloudAIDocumentOption
Static Fields
CUSTOMIZED_ENTITIES_PROPERTIES_CONVERSIONS_FIELD_NUMBER
public static final int CUSTOMIZED_ENTITIES_PROPERTIES_CONVERSIONS_FIELD_NUMBER
Field Value
ENABLE_ENTITIES_CONVERSIONS_FIELD_NUMBER
public static final int ENABLE_ENTITIES_CONVERSIONS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CloudAIDocumentOption getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CloudAIDocumentOption.Builder newBuilder()
Returns
newBuilder(CloudAIDocumentOption prototype)
public static CloudAIDocumentOption.Builder newBuilder(CloudAIDocumentOption prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static CloudAIDocumentOption parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudAIDocumentOption parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CloudAIDocumentOption parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CloudAIDocumentOption parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CloudAIDocumentOption parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CloudAIDocumentOption parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static CloudAIDocumentOption parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudAIDocumentOption parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static CloudAIDocumentOption parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudAIDocumentOption parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CloudAIDocumentOption parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CloudAIDocumentOption parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CloudAIDocumentOption> parser()
Returns
Methods
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
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
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
getEnableEntitiesConversions()
public boolean getEnableEntitiesConversions()
Whether to convert all the entities to properties.
bool enable_entities_conversions = 1;
Returns
Type | Description |
boolean | The enableEntitiesConversions.
|
getParserForType()
public Parser<CloudAIDocumentOption> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CloudAIDocumentOption.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CloudAIDocumentOption.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CloudAIDocumentOption.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions