Class ToolNameMatchInput.Builder

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

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

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

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

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

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

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

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

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

      public ToolNameMatchInput.Builder setMetricSpec(ToolNameMatchSpec value)
       Required. Spec for tool name match metric.
       
      .google.cloud.aiplatform.v1.ToolNameMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
    • setMetricSpec

      public ToolNameMatchInput.Builder setMetricSpec(ToolNameMatchSpec.Builder builderForValue)
       Required. Spec for tool name match metric.
       
      .google.cloud.aiplatform.v1.ToolNameMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeMetricSpec

      public ToolNameMatchInput.Builder mergeMetricSpec(ToolNameMatchSpec value)
       Required. Spec for tool name match metric.
       
      .google.cloud.aiplatform.v1.ToolNameMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearMetricSpec

      public ToolNameMatchInput.Builder clearMetricSpec()
       Required. Spec for tool name match metric.
       
      .google.cloud.aiplatform.v1.ToolNameMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
    • getMetricSpecBuilder

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

      public ToolNameMatchSpecOrBuilder getMetricSpecOrBuilder()
       Required. Spec for tool name match metric.
       
      .google.cloud.aiplatform.v1.ToolNameMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMetricSpecOrBuilder in interface ToolNameMatchInputOrBuilder
    • getInstancesList

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

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

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

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

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

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

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

      public ToolNameMatchInput.Builder addInstances(ToolNameMatchInstance.Builder builderForValue)
       Required. Repeated tool name match instances.
       
      repeated .google.cloud.aiplatform.v1.ToolNameMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • addInstances

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

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

      public ToolNameMatchInput.Builder clearInstances()
       Required. Repeated tool name match instances.
       
      repeated .google.cloud.aiplatform.v1.ToolNameMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • removeInstances

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

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

      public ToolNameMatchInstanceOrBuilder getInstancesOrBuilder(int index)
       Required. Repeated tool name match instances.
       
      repeated .google.cloud.aiplatform.v1.ToolNameMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstancesOrBuilder in interface ToolNameMatchInputOrBuilder
    • getInstancesOrBuilderList

      public List<? extends ToolNameMatchInstanceOrBuilder> getInstancesOrBuilderList()
       Required. Repeated tool name match instances.
       
      repeated .google.cloud.aiplatform.v1.ToolNameMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstancesOrBuilderList in interface ToolNameMatchInputOrBuilder
    • addInstancesBuilder

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

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

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