Class GeneralObjectDetectionConfig (0.14.1)

public final class GeneralObjectDetectionConfig extends GeneratedMessageV3 implements GeneralObjectDetectionConfigOrBuilder

Message of configurations for General Object Detection processor.

Protobuf type google.events.cloud.visionai.v1.GeneralObjectDetectionConfig

Static Methods

getDefaultInstance()

public static GeneralObjectDetectionConfig getDefaultInstance()
Returns
TypeDescription
GeneralObjectDetectionConfig

getDescriptor()

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

newBuilder()

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

newBuilder(GeneralObjectDetectionConfig prototype)

public static GeneralObjectDetectionConfig.Builder newBuilder(GeneralObjectDetectionConfig prototype)
Parameter
NameDescription
prototypeGeneralObjectDetectionConfig
Returns
TypeDescription
GeneralObjectDetectionConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<GeneralObjectDetectionConfig> parser()
Returns
TypeDescription
Parser<GeneralObjectDetectionConfig>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public GeneralObjectDetectionConfig getDefaultInstanceForType()
Returns
TypeDescription
GeneralObjectDetectionConfig

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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