public static final class VertexAutoMLVisionConfig.Builder extends GeneratedMessageV3.Builder<VertexAutoMLVisionConfig.Builder> implements VertexAutoMLVisionConfigOrBuilder
Message of configurations of Vertex AutoML Vision Processors.
Protobuf type google.events.cloud.visionai.v1.VertexAutoMLVisionConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VertexAutoMLVisionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public VertexAutoMLVisionConfig build()
buildPartial()
public VertexAutoMLVisionConfig buildPartial()
clear()
public VertexAutoMLVisionConfig.Builder clear()
Overrides
clearConfidenceThreshold()
public VertexAutoMLVisionConfig.Builder clearConfidenceThreshold()
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;
clearField(Descriptors.FieldDescriptor field)
public VertexAutoMLVisionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMaxPredictions()
public VertexAutoMLVisionConfig.Builder clearMaxPredictions()
At most this many predictions will be returned per output frame.
Value 0 means to return all the detected entities.
int32 max_predictions = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public VertexAutoMLVisionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public VertexAutoMLVisionConfig.Builder clone()
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 |
Type |
Description |
float |
The confidenceThreshold.
|
getDefaultInstanceForType()
public VertexAutoMLVisionConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 |
Type |
Description |
int |
The maxPredictions.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(VertexAutoMLVisionConfig other)
public VertexAutoMLVisionConfig.Builder mergeFrom(VertexAutoMLVisionConfig other)
public VertexAutoMLVisionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public VertexAutoMLVisionConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VertexAutoMLVisionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setConfidenceThreshold(float value)
public VertexAutoMLVisionConfig.Builder setConfidenceThreshold(float value)
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;
Parameter |
Name |
Description |
value |
float
The confidenceThreshold to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public VertexAutoMLVisionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMaxPredictions(int value)
public VertexAutoMLVisionConfig.Builder setMaxPredictions(int value)
At most this many predictions will be returned per output frame.
Value 0 means to return all the detected entities.
int32 max_predictions = 2;
Parameter |
Name |
Description |
value |
int
The maxPredictions to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VertexAutoMLVisionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final VertexAutoMLVisionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides