Package com.google.cloud.visionai.v1
Class VertexAutoMLVideoConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VertexAutoMLVideoConfig.Builder>
com.google.cloud.visionai.v1.VertexAutoMLVideoConfig.Builder
- All Implemented Interfaces:
VertexAutoMLVideoConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VertexAutoMLVideoConfig
public static final class VertexAutoMLVideoConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<VertexAutoMLVideoConfig.Builder>
implements VertexAutoMLVideoConfigOrBuilder
Message describing VertexAutoMLVideoConfig.Protobuf type
google.cloud.visionai.v1.VertexAutoMLVideoConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllBlockedLabels(Iterable<String> values) Labels specified in this field won't be returned.addBlockedLabels(String value) Labels specified in this field won't be returned.addBlockedLabelsBytes(com.google.protobuf.ByteString value) Labels specified in this field won't be returned.build()clear()Labels specified in this field won't be returned.Only Bounding Box whose size is larger than this limit will be returned.Only entities with higher score than the threshold will be returned.At most this many predictions will be returned per output frame.getBlockedLabels(int index) Labels specified in this field won't be returned.com.google.protobuf.ByteStringgetBlockedLabelsBytes(int index) Labels specified in this field won't be returned.intLabels specified in this field won't be returned.com.google.protobuf.ProtocolStringListLabels specified in this field won't be returned.floatOnly Bounding Box whose size is larger than this limit will be returned.floatOnly entities with higher score than the threshold will be returned.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintAt most this many predictions will be returned per output frame.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(VertexAutoMLVideoConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setBlockedLabels(int index, String value) Labels specified in this field won't be returned.setBoundingBoxSizeLimit(float value) Only Bounding Box whose size is larger than this limit will be returned.setConfidenceThreshold(float value) Only entities with higher score than the threshold will be returned.setMaxPredictions(int value) At most this many predictions will be returned per output frame.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<VertexAutoMLVideoConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<VertexAutoMLVideoConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<VertexAutoMLVideoConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VertexAutoMLVideoConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<VertexAutoMLVideoConfig.Builder>
-
mergeFrom
public VertexAutoMLVideoConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VertexAutoMLVideoConfig.Builder>- Throws:
IOException
-
getConfidenceThreshold
public float getConfidenceThreshold()Only entities with higher score than the threshold will be returned. Value 0.0 means returns all the detected entities.
float confidence_threshold = 1;- Specified by:
getConfidenceThresholdin interfaceVertexAutoMLVideoConfigOrBuilder- Returns:
- The confidenceThreshold.
-
setConfidenceThreshold
Only entities with higher score than the threshold will be returned. Value 0.0 means returns all the detected entities.
float confidence_threshold = 1;- Parameters:
value- The confidenceThreshold to set.- Returns:
- This builder for chaining.
-
clearConfidenceThreshold
Only entities with higher score than the threshold will be returned. Value 0.0 means returns all the detected entities.
float confidence_threshold = 1;- Returns:
- This builder for chaining.
-
getBlockedLabelsList
public com.google.protobuf.ProtocolStringList getBlockedLabelsList()Labels specified in this field won't be returned.
repeated string blocked_labels = 2;- Specified by:
getBlockedLabelsListin interfaceVertexAutoMLVideoConfigOrBuilder- Returns:
- A list containing the blockedLabels.
-
getBlockedLabelsCount
public int getBlockedLabelsCount()Labels specified in this field won't be returned.
repeated string blocked_labels = 2;- Specified by:
getBlockedLabelsCountin interfaceVertexAutoMLVideoConfigOrBuilder- Returns:
- The count of blockedLabels.
-
getBlockedLabels
Labels specified in this field won't be returned.
repeated string blocked_labels = 2;- Specified by:
getBlockedLabelsin interfaceVertexAutoMLVideoConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The blockedLabels at the given index.
-
getBlockedLabelsBytes
public com.google.protobuf.ByteString getBlockedLabelsBytes(int index) Labels specified in this field won't be returned.
repeated string blocked_labels = 2;- Specified by:
getBlockedLabelsBytesin interfaceVertexAutoMLVideoConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the blockedLabels at the given index.
-
setBlockedLabels
Labels specified in this field won't be returned.
repeated string blocked_labels = 2;- Parameters:
index- The index to set the value at.value- The blockedLabels to set.- Returns:
- This builder for chaining.
-
addBlockedLabels
Labels specified in this field won't be returned.
repeated string blocked_labels = 2;- Parameters:
value- The blockedLabels to add.- Returns:
- This builder for chaining.
-
addAllBlockedLabels
Labels specified in this field won't be returned.
repeated string blocked_labels = 2;- Parameters:
values- The blockedLabels to add.- Returns:
- This builder for chaining.
-
clearBlockedLabels
Labels specified in this field won't be returned.
repeated string blocked_labels = 2;- Returns:
- This builder for chaining.
-
addBlockedLabelsBytes
Labels specified in this field won't be returned.
repeated string blocked_labels = 2;- Parameters:
value- The bytes of the blockedLabels to add.- Returns:
- This builder for chaining.
-
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 = 3;- Specified by:
getMaxPredictionsin interfaceVertexAutoMLVideoConfigOrBuilder- Returns:
- The maxPredictions.
-
setMaxPredictions
At most this many predictions will be returned per output frame. Value 0 means to return all the detected entities.
int32 max_predictions = 3;- Parameters:
value- The maxPredictions to set.- Returns:
- This builder for chaining.
-
clearMaxPredictions
At most this many predictions will be returned per output frame. Value 0 means to return all the detected entities.
int32 max_predictions = 3;- Returns:
- This builder for chaining.
-
getBoundingBoxSizeLimit
public float getBoundingBoxSizeLimit()Only Bounding Box whose size is larger than this limit will be returned. Object Tracking only. Value 0.0 means to return all the detected entities.
float bounding_box_size_limit = 4;- Specified by:
getBoundingBoxSizeLimitin interfaceVertexAutoMLVideoConfigOrBuilder- Returns:
- The boundingBoxSizeLimit.
-
setBoundingBoxSizeLimit
Only Bounding Box whose size is larger than this limit will be returned. Object Tracking only. Value 0.0 means to return all the detected entities.
float bounding_box_size_limit = 4;- Parameters:
value- The boundingBoxSizeLimit to set.- Returns:
- This builder for chaining.
-
clearBoundingBoxSizeLimit
Only Bounding Box whose size is larger than this limit will be returned. Object Tracking only. Value 0.0 means to return all the detected entities.
float bounding_box_size_limit = 4;- Returns:
- This builder for chaining.
-