Class CloudAIDocumentOption (0.31.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
TypeDescription
int

ENABLE_ENTITIES_CONVERSIONS_FIELD_NUMBER

public static final int ENABLE_ENTITIES_CONVERSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CloudAIDocumentOption getDefaultInstance()
Returns
TypeDescription
CloudAIDocumentOption

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CloudAIDocumentOption.Builder newBuilder()
Returns
TypeDescription
CloudAIDocumentOption.Builder

newBuilder(CloudAIDocumentOption prototype)

public static CloudAIDocumentOption.Builder newBuilder(CloudAIDocumentOption prototype)
Parameter
NameDescription
prototypeCloudAIDocumentOption
Returns
TypeDescription
CloudAIDocumentOption.Builder

parseDelimitedFrom(InputStream input)

public static CloudAIDocumentOption parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CloudAIDocumentOption
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudAIDocumentOption parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudAIDocumentOption
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CloudAIDocumentOption parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CloudAIDocumentOption
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CloudAIDocumentOption parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudAIDocumentOption
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CloudAIDocumentOption parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CloudAIDocumentOption
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CloudAIDocumentOption parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudAIDocumentOption
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CloudAIDocumentOption parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CloudAIDocumentOption
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudAIDocumentOption parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudAIDocumentOption
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CloudAIDocumentOption parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CloudAIDocumentOption
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudAIDocumentOption parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudAIDocumentOption
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CloudAIDocumentOption parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CloudAIDocumentOption
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CloudAIDocumentOption parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudAIDocumentOption
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CloudAIDocumentOption> parser()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCustomizedEntitiesPropertiesConversions() (deprecated)

public Map<String,String> getCustomizedEntitiesPropertiesConversions()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String

getDefaultInstanceForType()

public CloudAIDocumentOption getDefaultInstanceForType()
Returns
TypeDescription
CloudAIDocumentOption

getEnableEntitiesConversions()

public boolean getEnableEntitiesConversions()

Whether to convert all the entities to properties.

bool enable_entities_conversions = 1;

Returns
TypeDescription
boolean

The enableEntitiesConversions.

getParserForType()

public Parser<CloudAIDocumentOption> getParserForType()
Returns
TypeDescription
Parser<CloudAIDocumentOption>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CloudAIDocumentOption.Builder newBuilderForType()
Returns
TypeDescription
CloudAIDocumentOption.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CloudAIDocumentOption.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CloudAIDocumentOption.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CloudAIDocumentOption.Builder toBuilder()
Returns
TypeDescription
CloudAIDocumentOption.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException