Class VertexAutoMLVisionConfig (0.14.1)

public final class VertexAutoMLVisionConfig extends GeneratedMessageV3 implements VertexAutoMLVisionConfigOrBuilder

Message of configurations of Vertex AutoML Vision Processors.

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

Static Fields

CONFIDENCE_THRESHOLD_FIELD_NUMBER

public static final int CONFIDENCE_THRESHOLD_FIELD_NUMBER
Field Value
TypeDescription
int

MAX_PREDICTIONS_FIELD_NUMBER

public static final int MAX_PREDICTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VertexAutoMLVisionConfig getDefaultInstance()
Returns
TypeDescription
VertexAutoMLVisionConfig

getDescriptor()

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

newBuilder()

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

newBuilder(VertexAutoMLVisionConfig prototype)

public static VertexAutoMLVisionConfig.Builder newBuilder(VertexAutoMLVisionConfig prototype)
Parameter
NameDescription
prototypeVertexAutoMLVisionConfig
Returns
TypeDescription
VertexAutoMLVisionConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConfidenceThreshold()

public float getConfidenceThreshold()

Only entities with higher score than the threshold will be returned. Value 0.0 means to return all the detected entities.

float confidence_threshold = 1;

Returns
TypeDescription
float

The confidenceThreshold.

getDefaultInstanceForType()

public VertexAutoMLVisionConfig getDefaultInstanceForType()
Returns
TypeDescription
VertexAutoMLVisionConfig

getMaxPredictions()

public int getMaxPredictions()

At most this many predictions will be returned per output frame. Value 0 means to return all the detected entities.

int32 max_predictions = 2;

Returns
TypeDescription
int

The maxPredictions.

getParserForType()

public Parser<VertexAutoMLVisionConfig> getParserForType()
Returns
TypeDescription
Parser<VertexAutoMLVisionConfig>
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 VertexAutoMLVisionConfig.Builder newBuilderForType()
Returns
TypeDescription
VertexAutoMLVisionConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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