Class CloudAIDocumentOption (0.45.0)

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
Type Description
int

ENABLE_ENTITIES_CONVERSIONS_FIELD_NUMBER

public static final int ENABLE_ENTITIES_CONVERSIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CloudAIDocumentOption getDefaultInstance()
Returns
Type Description
CloudAIDocumentOption

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CloudAIDocumentOption.Builder newBuilder()
Returns
Type Description
CloudAIDocumentOption.Builder

newBuilder(CloudAIDocumentOption prototype)

public static CloudAIDocumentOption.Builder newBuilder(CloudAIDocumentOption prototype)
Parameter
Name Description
prototype CloudAIDocumentOption
Returns
Type Description
CloudAIDocumentOption.Builder

parseDelimitedFrom(InputStream input)

public static CloudAIDocumentOption parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CloudAIDocumentOption
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudAIDocumentOption parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudAIDocumentOption
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CloudAIDocumentOption parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CloudAIDocumentOption
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CloudAIDocumentOption parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudAIDocumentOption
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CloudAIDocumentOption parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CloudAIDocumentOption
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CloudAIDocumentOption parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudAIDocumentOption
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CloudAIDocumentOption parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CloudAIDocumentOption
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudAIDocumentOption parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudAIDocumentOption
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CloudAIDocumentOption parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CloudAIDocumentOption
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudAIDocumentOption parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudAIDocumentOption
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CloudAIDocumentOption parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CloudAIDocumentOption
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CloudAIDocumentOption parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudAIDocumentOption
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CloudAIDocumentOption> parser()
Returns
Type Description
Parser<CloudAIDocumentOption>

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
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCustomizedEntitiesPropertiesConversions() (deprecated)

public Map<String,String> getCustomizedEntitiesPropertiesConversions()
Returns
Type Description
Map<String,String>

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;

Returns
Type Description
Map<String,String>

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
Name Description
key String
defaultValue String
Returns
Type Description
String

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
Returns
Type Description
String

getDefaultInstanceForType()

public CloudAIDocumentOption getDefaultInstanceForType()
Returns
Type Description
CloudAIDocumentOption

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
Type Description
Parser<CloudAIDocumentOption>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
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.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CloudAIDocumentOption.Builder newBuilderForType()
Returns
Type Description
CloudAIDocumentOption.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CloudAIDocumentOption.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CloudAIDocumentOption.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CloudAIDocumentOption.Builder toBuilder()
Returns
Type Description
CloudAIDocumentOption.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException