Class TrajectoryExactMatchInput.Builder

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

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

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

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

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

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

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

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

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

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

       Required. Spec for TrajectoryExactMatch metric.
       
      .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeMetricSpec

       Required. Spec for TrajectoryExactMatch metric.
       
      .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearMetricSpec

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

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

      public TrajectoryExactMatchSpecOrBuilder getMetricSpecOrBuilder()
       Required. Spec for TrajectoryExactMatch metric.
       
      .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMetricSpecOrBuilder in interface TrajectoryExactMatchInputOrBuilder
    • getInstancesList

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

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

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

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

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

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

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

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

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

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

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

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

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

      public TrajectoryExactMatchInstanceOrBuilder getInstancesOrBuilder(int index)
       Required. Repeated TrajectoryExactMatch instance.
       
      repeated .google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstancesOrBuilder in interface TrajectoryExactMatchInputOrBuilder
    • getInstancesOrBuilderList

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

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

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

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