Class ToolParameterKeyMatchInput.Builder

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

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

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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