Class ExactMatchInput.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExactMatchInput.Builder>
com.google.cloud.aiplatform.v1.ExactMatchInput.Builder
All Implemented Interfaces:
ExactMatchInputOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ExactMatchInput

public static final class ExactMatchInput.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExactMatchInput.Builder> implements ExactMatchInputOrBuilder
 Input for exact match metric.
 
Protobuf type google.cloud.aiplatform.v1.ExactMatchInput
  • 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<ExactMatchInput.Builder>
    • clear

      public ExactMatchInput.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<ExactMatchInput.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<ExactMatchInput.Builder>
    • getDefaultInstanceForType

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

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

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

      public ExactMatchInput.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<ExactMatchInput.Builder>
    • mergeFrom

      public ExactMatchInput.Builder mergeFrom(ExactMatchInput other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ExactMatchInput.Builder>
    • mergeFrom

      public ExactMatchInput.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<ExactMatchInput.Builder>
      Throws:
      IOException
    • hasMetricSpec

      public boolean hasMetricSpec()
       Required. Spec for exact match metric.
       
      .google.cloud.aiplatform.v1.ExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasMetricSpec in interface ExactMatchInputOrBuilder
      Returns:
      Whether the metricSpec field is set.
    • getMetricSpec

      public ExactMatchSpec getMetricSpec()
       Required. Spec for exact match metric.
       
      .google.cloud.aiplatform.v1.ExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMetricSpec in interface ExactMatchInputOrBuilder
      Returns:
      The metricSpec.
    • setMetricSpec

      public ExactMatchInput.Builder setMetricSpec(ExactMatchSpec value)
       Required. Spec for exact match metric.
       
      .google.cloud.aiplatform.v1.ExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
    • setMetricSpec

      public ExactMatchInput.Builder setMetricSpec(ExactMatchSpec.Builder builderForValue)
       Required. Spec for exact match metric.
       
      .google.cloud.aiplatform.v1.ExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeMetricSpec

      public ExactMatchInput.Builder mergeMetricSpec(ExactMatchSpec value)
       Required. Spec for exact match metric.
       
      .google.cloud.aiplatform.v1.ExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearMetricSpec

      public ExactMatchInput.Builder clearMetricSpec()
       Required. Spec for exact match metric.
       
      .google.cloud.aiplatform.v1.ExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
    • getMetricSpecBuilder

      public ExactMatchSpec.Builder getMetricSpecBuilder()
       Required. Spec for exact match metric.
       
      .google.cloud.aiplatform.v1.ExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
    • getMetricSpecOrBuilder

      public ExactMatchSpecOrBuilder getMetricSpecOrBuilder()
       Required. Spec for exact match metric.
       
      .google.cloud.aiplatform.v1.ExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMetricSpecOrBuilder in interface ExactMatchInputOrBuilder
    • getInstancesList

      public List<ExactMatchInstance> getInstancesList()
       Required. Repeated exact match instances.
       
      repeated .google.cloud.aiplatform.v1.ExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstancesList in interface ExactMatchInputOrBuilder
    • getInstancesCount

      public int getInstancesCount()
       Required. Repeated exact match instances.
       
      repeated .google.cloud.aiplatform.v1.ExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstancesCount in interface ExactMatchInputOrBuilder
    • getInstances

      public ExactMatchInstance getInstances(int index)
       Required. Repeated exact match instances.
       
      repeated .google.cloud.aiplatform.v1.ExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstances in interface ExactMatchInputOrBuilder
    • setInstances

      public ExactMatchInput.Builder setInstances(int index, ExactMatchInstance value)
       Required. Repeated exact match instances.
       
      repeated .google.cloud.aiplatform.v1.ExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • setInstances

      public ExactMatchInput.Builder setInstances(int index, ExactMatchInstance.Builder builderForValue)
       Required. Repeated exact match instances.
       
      repeated .google.cloud.aiplatform.v1.ExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • addInstances

      public ExactMatchInput.Builder addInstances(ExactMatchInstance value)
       Required. Repeated exact match instances.
       
      repeated .google.cloud.aiplatform.v1.ExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • addInstances

      public ExactMatchInput.Builder addInstances(int index, ExactMatchInstance value)
       Required. Repeated exact match instances.
       
      repeated .google.cloud.aiplatform.v1.ExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • addInstances

      public ExactMatchInput.Builder addInstances(ExactMatchInstance.Builder builderForValue)
       Required. Repeated exact match instances.
       
      repeated .google.cloud.aiplatform.v1.ExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • addInstances

      public ExactMatchInput.Builder addInstances(int index, ExactMatchInstance.Builder builderForValue)
       Required. Repeated exact match instances.
       
      repeated .google.cloud.aiplatform.v1.ExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • addAllInstances

      public ExactMatchInput.Builder addAllInstances(Iterable<? extends ExactMatchInstance> values)
       Required. Repeated exact match instances.
       
      repeated .google.cloud.aiplatform.v1.ExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearInstances

      public ExactMatchInput.Builder clearInstances()
       Required. Repeated exact match instances.
       
      repeated .google.cloud.aiplatform.v1.ExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • removeInstances

      public ExactMatchInput.Builder removeInstances(int index)
       Required. Repeated exact match instances.
       
      repeated .google.cloud.aiplatform.v1.ExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • getInstancesBuilder

      public ExactMatchInstance.Builder getInstancesBuilder(int index)
       Required. Repeated exact match instances.
       
      repeated .google.cloud.aiplatform.v1.ExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • getInstancesOrBuilder

      public ExactMatchInstanceOrBuilder getInstancesOrBuilder(int index)
       Required. Repeated exact match instances.
       
      repeated .google.cloud.aiplatform.v1.ExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstancesOrBuilder in interface ExactMatchInputOrBuilder
    • getInstancesOrBuilderList

      public List<? extends ExactMatchInstanceOrBuilder> getInstancesOrBuilderList()
       Required. Repeated exact match instances.
       
      repeated .google.cloud.aiplatform.v1.ExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstancesOrBuilderList in interface ExactMatchInputOrBuilder
    • addInstancesBuilder

      public ExactMatchInstance.Builder addInstancesBuilder()
       Required. Repeated exact match instances.
       
      repeated .google.cloud.aiplatform.v1.ExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • addInstancesBuilder

      public ExactMatchInstance.Builder addInstancesBuilder(int index)
       Required. Repeated exact match instances.
       
      repeated .google.cloud.aiplatform.v1.ExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • getInstancesBuilderList

      public List<ExactMatchInstance.Builder> getInstancesBuilderList()
       Required. Repeated exact match instances.
       
      repeated .google.cloud.aiplatform.v1.ExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];