public static final class TrajectoryRecallInput.Builder extends GeneratedMessageV3.Builder<TrajectoryRecallInput.Builder> implements TrajectoryRecallInputOrBuilder
Instances and metric spec for TrajectoryRecall metric.
Protobuf type google.cloud.aiplatform.v1beta1.TrajectoryRecallInput
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance>
|
public TrajectoryRecallInput.Builder addInstances(TrajectoryRecallInstance value)
Required. Repeated TrajectoryRecall instance.
repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public TrajectoryRecallInput.Builder addInstances(TrajectoryRecallInstance.Builder builderForValue)
Required. Repeated TrajectoryRecall instance.
repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
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];
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];
public TrajectoryRecallInstance.Builder addInstancesBuilder()
Required. Repeated TrajectoryRecall instance.
repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public TrajectoryRecallInstance.Builder addInstancesBuilder(int index)
Required. Repeated TrajectoryRecall instance.
repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
public TrajectoryRecallInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public TrajectoryRecallInput build()
public TrajectoryRecallInput buildPartial()
public TrajectoryRecallInput.Builder clear()
Overrides
public TrajectoryRecallInput.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public TrajectoryRecallInput.Builder clearInstances()
Required. Repeated TrajectoryRecall instance.
repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public TrajectoryRecallInput.Builder clearMetricSpec()
Required. Spec for TrajectoryRecall metric.
.google.cloud.aiplatform.v1beta1.TrajectoryRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public TrajectoryRecallInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public TrajectoryRecallInput.Builder clone()
Overrides
public TrajectoryRecallInput getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public TrajectoryRecallInstance getInstances(int index)
Required. Repeated TrajectoryRecall instance.
repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
public TrajectoryRecallInstance.Builder getInstancesBuilder(int index)
Required. Repeated TrajectoryRecall instance.
repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
public List<TrajectoryRecallInstance.Builder> getInstancesBuilderList()
Required. Repeated TrajectoryRecall instance.
repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public int getInstancesCount()
Required. Repeated TrajectoryRecall instance.
repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
public List<TrajectoryRecallInstance> getInstancesList()
Required. Repeated TrajectoryRecall instance.
repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public TrajectoryRecallInstanceOrBuilder getInstancesOrBuilder(int index)
Required. Repeated TrajectoryRecall instance.
repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
public List<? extends TrajectoryRecallInstanceOrBuilder> getInstancesOrBuilderList()
Required. Repeated TrajectoryRecall instance.
repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.aiplatform.v1beta1.TrajectoryRecallInstanceOrBuilder> |
|
public TrajectoryRecallSpec getMetricSpec()
Required. Spec for TrajectoryRecall metric.
.google.cloud.aiplatform.v1beta1.TrajectoryRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public TrajectoryRecallSpec.Builder getMetricSpecBuilder()
Required. Spec for TrajectoryRecall metric.
.google.cloud.aiplatform.v1beta1.TrajectoryRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public TrajectoryRecallSpecOrBuilder getMetricSpecOrBuilder()
Required. Spec for TrajectoryRecall metric.
.google.cloud.aiplatform.v1beta1.TrajectoryRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public boolean hasMetricSpec()
Required. Spec for TrajectoryRecall metric.
.google.cloud.aiplatform.v1beta1.TrajectoryRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the metricSpec field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public TrajectoryRecallInput.Builder mergeFrom(TrajectoryRecallInput other)
public TrajectoryRecallInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public TrajectoryRecallInput.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public TrajectoryRecallInput.Builder mergeMetricSpec(TrajectoryRecallSpec value)
Required. Spec for TrajectoryRecall metric.
.google.cloud.aiplatform.v1beta1.TrajectoryRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public final TrajectoryRecallInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public TrajectoryRecallInput.Builder removeInstances(int index)
Required. Repeated TrajectoryRecall instance.
repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
public TrajectoryRecallInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
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];
public TrajectoryRecallInput.Builder setMetricSpec(TrajectoryRecallSpec value)
Required. Spec for TrajectoryRecall metric.
.google.cloud.aiplatform.v1beta1.TrajectoryRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
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];
public TrajectoryRecallInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final TrajectoryRecallInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides