Class ToolParameterKVMatchInput.Builder

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

public static final class ToolParameterKVMatchInput.Builder extends com.google.protobuf.GeneratedMessage.Builder<ToolParameterKVMatchInput.Builder> implements ToolParameterKVMatchInputOrBuilder
 Input for tool parameter key value match metric.
 
Protobuf type google.cloud.aiplatform.v1.ToolParameterKVMatchInput
  • 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<ToolParameterKVMatchInput.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<ToolParameterKVMatchInput.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<ToolParameterKVMatchInput.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

      public ToolParameterKVMatchSpec getMetricSpec()
       Required. Spec for tool parameter key value match metric.
       
      .google.cloud.aiplatform.v1.ToolParameterKVMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMetricSpec in interface ToolParameterKVMatchInputOrBuilder
      Returns:
      The metricSpec.
    • setMetricSpec

       Required. Spec for tool parameter key value match metric.
       
      .google.cloud.aiplatform.v1.ToolParameterKVMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
    • setMetricSpec

       Required. Spec for tool parameter key value match metric.
       
      .google.cloud.aiplatform.v1.ToolParameterKVMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeMetricSpec

       Required. Spec for tool parameter key value match metric.
       
      .google.cloud.aiplatform.v1.ToolParameterKVMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearMetricSpec

      public ToolParameterKVMatchInput.Builder clearMetricSpec()
       Required. Spec for tool parameter key value match metric.
       
      .google.cloud.aiplatform.v1.ToolParameterKVMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
    • getMetricSpecBuilder

      public ToolParameterKVMatchSpec.Builder getMetricSpecBuilder()
       Required. Spec for tool parameter key value match metric.
       
      .google.cloud.aiplatform.v1.ToolParameterKVMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
    • getMetricSpecOrBuilder

      public ToolParameterKVMatchSpecOrBuilder getMetricSpecOrBuilder()
       Required. Spec for tool parameter key value match metric.
       
      .google.cloud.aiplatform.v1.ToolParameterKVMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMetricSpecOrBuilder in interface ToolParameterKVMatchInputOrBuilder
    • getInstancesList

      public List<ToolParameterKVMatchInstance> getInstancesList()
       Required. Repeated tool parameter key value match instances.
       
      repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstancesList in interface ToolParameterKVMatchInputOrBuilder
    • getInstancesCount

      public int getInstancesCount()
       Required. Repeated tool parameter key value match instances.
       
      repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstancesCount in interface ToolParameterKVMatchInputOrBuilder
    • getInstances

      public ToolParameterKVMatchInstance getInstances(int index)
       Required. Repeated tool parameter key value match instances.
       
      repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstances in interface ToolParameterKVMatchInputOrBuilder
    • setInstances

      public ToolParameterKVMatchInput.Builder setInstances(int index, ToolParameterKVMatchInstance value)
       Required. Repeated tool parameter key value match instances.
       
      repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • setInstances

      public ToolParameterKVMatchInput.Builder setInstances(int index, ToolParameterKVMatchInstance.Builder builderForValue)
       Required. Repeated tool parameter key value match instances.
       
      repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • addInstances

       Required. Repeated tool parameter key value match instances.
       
      repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • addInstances

      public ToolParameterKVMatchInput.Builder addInstances(int index, ToolParameterKVMatchInstance value)
       Required. Repeated tool parameter key value match instances.
       
      repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • addInstances

       Required. Repeated tool parameter key value match instances.
       
      repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • addInstances

      public ToolParameterKVMatchInput.Builder addInstances(int index, ToolParameterKVMatchInstance.Builder builderForValue)
       Required. Repeated tool parameter key value match instances.
       
      repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • addAllInstances

      public ToolParameterKVMatchInput.Builder addAllInstances(Iterable<? extends ToolParameterKVMatchInstance> values)
       Required. Repeated tool parameter key value match instances.
       
      repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearInstances

      public ToolParameterKVMatchInput.Builder clearInstances()
       Required. Repeated tool parameter key value match instances.
       
      repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • removeInstances

      public ToolParameterKVMatchInput.Builder removeInstances(int index)
       Required. Repeated tool parameter key value match instances.
       
      repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • getInstancesBuilder

      public ToolParameterKVMatchInstance.Builder getInstancesBuilder(int index)
       Required. Repeated tool parameter key value match instances.
       
      repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • getInstancesOrBuilder

      public ToolParameterKVMatchInstanceOrBuilder getInstancesOrBuilder(int index)
       Required. Repeated tool parameter key value match instances.
       
      repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstancesOrBuilder in interface ToolParameterKVMatchInputOrBuilder
    • getInstancesOrBuilderList

      public List<? extends ToolParameterKVMatchInstanceOrBuilder> getInstancesOrBuilderList()
       Required. Repeated tool parameter key value match instances.
       
      repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstancesOrBuilderList in interface ToolParameterKVMatchInputOrBuilder
    • addInstancesBuilder

      public ToolParameterKVMatchInstance.Builder addInstancesBuilder()
       Required. Repeated tool parameter key value match instances.
       
      repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • addInstancesBuilder

      public ToolParameterKVMatchInstance.Builder addInstancesBuilder(int index)
       Required. Repeated tool parameter key value match instances.
       
      repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • getInstancesBuilderList

      public List<ToolParameterKVMatchInstance.Builder> getInstancesBuilderList()
       Required. Repeated tool parameter key value match instances.
       
      repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];