Class TrajectoryRecallInput.Builder

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

public static final class TrajectoryRecallInput.Builder extends com.google.protobuf.GeneratedMessage.Builder<TrajectoryRecallInput.Builder> implements TrajectoryRecallInputOrBuilder
 Instances and metric spec for TrajectoryRecall metric.
 
Protobuf type google.cloud.aiplatform.v1beta1.TrajectoryRecallInput
  • 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<TrajectoryRecallInput.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<TrajectoryRecallInput.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<TrajectoryRecallInput.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

      public TrajectoryRecallSpec getMetricSpec()
       Required. Spec for TrajectoryRecall metric.
       
      .google.cloud.aiplatform.v1beta1.TrajectoryRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMetricSpec in interface TrajectoryRecallInputOrBuilder
      Returns:
      The metricSpec.
    • setMetricSpec

       Required. Spec for TrajectoryRecall metric.
       
      .google.cloud.aiplatform.v1beta1.TrajectoryRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
    • setMetricSpec

      public TrajectoryRecallInput.Builder setMetricSpec(TrajectoryRecallSpec.Builder builderForValue)
       Required. Spec for TrajectoryRecall metric.
       
      .google.cloud.aiplatform.v1beta1.TrajectoryRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeMetricSpec

      public TrajectoryRecallInput.Builder mergeMetricSpec(TrajectoryRecallSpec value)
       Required. Spec for TrajectoryRecall metric.
       
      .google.cloud.aiplatform.v1beta1.TrajectoryRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearMetricSpec

      public TrajectoryRecallInput.Builder clearMetricSpec()
       Required. Spec for TrajectoryRecall metric.
       
      .google.cloud.aiplatform.v1beta1.TrajectoryRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
    • getMetricSpecBuilder

      public TrajectoryRecallSpec.Builder getMetricSpecBuilder()
       Required. Spec for TrajectoryRecall metric.
       
      .google.cloud.aiplatform.v1beta1.TrajectoryRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
    • getMetricSpecOrBuilder

      public TrajectoryRecallSpecOrBuilder getMetricSpecOrBuilder()
       Required. Spec for TrajectoryRecall metric.
       
      .google.cloud.aiplatform.v1beta1.TrajectoryRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMetricSpecOrBuilder in interface TrajectoryRecallInputOrBuilder
    • getInstancesList

      public List<TrajectoryRecallInstance> getInstancesList()
       Required. Repeated TrajectoryRecall instance.
       
      repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstancesList in interface TrajectoryRecallInputOrBuilder
    • getInstancesCount

      public int getInstancesCount()
       Required. Repeated TrajectoryRecall instance.
       
      repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstancesCount in interface TrajectoryRecallInputOrBuilder
    • getInstances

      public TrajectoryRecallInstance getInstances(int index)
       Required. Repeated TrajectoryRecall instance.
       
      repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstances in interface TrajectoryRecallInputOrBuilder
    • setInstances

      public TrajectoryRecallInput.Builder setInstances(int index, TrajectoryRecallInstance value)
       Required. Repeated TrajectoryRecall instance.
       
      repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • setInstances

      public TrajectoryRecallInput.Builder setInstances(int index, TrajectoryRecallInstance.Builder builderForValue)
       Required. Repeated TrajectoryRecall instance.
       
      repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • addInstances

       Required. Repeated TrajectoryRecall instance.
       
      repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • addInstances

      public TrajectoryRecallInput.Builder addInstances(int index, TrajectoryRecallInstance value)
       Required. Repeated TrajectoryRecall instance.
       
      repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • addInstances

      public TrajectoryRecallInput.Builder addInstances(TrajectoryRecallInstance.Builder builderForValue)
       Required. Repeated TrajectoryRecall instance.
       
      repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • addInstances

      public TrajectoryRecallInput.Builder addInstances(int index, TrajectoryRecallInstance.Builder builderForValue)
       Required. Repeated TrajectoryRecall instance.
       
      repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • addAllInstances

      public TrajectoryRecallInput.Builder addAllInstances(Iterable<? extends TrajectoryRecallInstance> values)
       Required. Repeated TrajectoryRecall instance.
       
      repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearInstances

      public TrajectoryRecallInput.Builder clearInstances()
       Required. Repeated TrajectoryRecall instance.
       
      repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • removeInstances

      public TrajectoryRecallInput.Builder removeInstances(int index)
       Required. Repeated TrajectoryRecall instance.
       
      repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • getInstancesBuilder

      public TrajectoryRecallInstance.Builder getInstancesBuilder(int index)
       Required. Repeated TrajectoryRecall instance.
       
      repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • getInstancesOrBuilder

      public TrajectoryRecallInstanceOrBuilder getInstancesOrBuilder(int index)
       Required. Repeated TrajectoryRecall instance.
       
      repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstancesOrBuilder in interface TrajectoryRecallInputOrBuilder
    • getInstancesOrBuilderList

      public List<? extends TrajectoryRecallInstanceOrBuilder> getInstancesOrBuilderList()
       Required. Repeated TrajectoryRecall instance.
       
      repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstancesOrBuilderList in interface TrajectoryRecallInputOrBuilder
    • addInstancesBuilder

      public TrajectoryRecallInstance.Builder addInstancesBuilder()
       Required. Repeated TrajectoryRecall instance.
       
      repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • addInstancesBuilder

      public TrajectoryRecallInstance.Builder addInstancesBuilder(int index)
       Required. Repeated TrajectoryRecall instance.
       
      repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
    • getInstancesBuilderList

      public List<TrajectoryRecallInstance.Builder> getInstancesBuilderList()
       Required. Repeated TrajectoryRecall instance.
       
      repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];