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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<VertexAutoMLVideoConfig.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<VertexAutoMLVideoConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<VertexAutoMLVideoConfig.Builder>
    • getDefaultInstanceForType

      public VertexAutoMLVideoConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public VertexAutoMLVideoConfig build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public VertexAutoMLVideoConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public VertexAutoMLVideoConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<VertexAutoMLVideoConfig.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      getConfidenceThreshold in interface VertexAutoMLVideoConfigOrBuilder
      Returns:
      The confidenceThreshold.
    • setConfidenceThreshold

      public VertexAutoMLVideoConfig.Builder setConfidenceThreshold(float value)
       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

      public VertexAutoMLVideoConfig.Builder 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:
      getBlockedLabelsList in interface VertexAutoMLVideoConfigOrBuilder
      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:
      getBlockedLabelsCount in interface VertexAutoMLVideoConfigOrBuilder
      Returns:
      The count of blockedLabels.
    • getBlockedLabels

      public String getBlockedLabels(int index)
       Labels specified in this field won't be returned.
       
      repeated string blocked_labels = 2;
      Specified by:
      getBlockedLabels in interface VertexAutoMLVideoConfigOrBuilder
      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:
      getBlockedLabelsBytes in interface VertexAutoMLVideoConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the blockedLabels at the given index.
    • setBlockedLabels

      public VertexAutoMLVideoConfig.Builder setBlockedLabels(int index, String value)
       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

      public VertexAutoMLVideoConfig.Builder addBlockedLabels(String value)
       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

      public VertexAutoMLVideoConfig.Builder addAllBlockedLabels(Iterable<String> values)
       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

      public VertexAutoMLVideoConfig.Builder clearBlockedLabels()
       Labels specified in this field won't be returned.
       
      repeated string blocked_labels = 2;
      Returns:
      This builder for chaining.
    • addBlockedLabelsBytes

      public VertexAutoMLVideoConfig.Builder addBlockedLabelsBytes(com.google.protobuf.ByteString value)
       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:
      getMaxPredictions in interface VertexAutoMLVideoConfigOrBuilder
      Returns:
      The maxPredictions.
    • setMaxPredictions

      public VertexAutoMLVideoConfig.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 = 3;
      Parameters:
      value - The maxPredictions to set.
      Returns:
      This builder for chaining.
    • clearMaxPredictions

      public VertexAutoMLVideoConfig.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 = 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:
      getBoundingBoxSizeLimit in interface VertexAutoMLVideoConfigOrBuilder
      Returns:
      The boundingBoxSizeLimit.
    • setBoundingBoxSizeLimit

      public VertexAutoMLVideoConfig.Builder setBoundingBoxSizeLimit(float value)
       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

      public VertexAutoMLVideoConfig.Builder 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.