Class TrajectoryRecallInput.Builder (3.56.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllInstances(Iterable<? extends TrajectoryRecallInstance> values)

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>
Returns
Type Description
TrajectoryRecallInput.Builder

addInstances(TrajectoryRecallInstance value)

public TrajectoryRecallInput.Builder addInstances(TrajectoryRecallInstance value)

Required. Repeated TrajectoryRecall instance.

repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TrajectoryRecallInstance
Returns
Type Description
TrajectoryRecallInput.Builder

addInstances(TrajectoryRecallInstance.Builder builderForValue)

public TrajectoryRecallInput.Builder addInstances(TrajectoryRecallInstance.Builder builderForValue)

Required. Repeated TrajectoryRecall instance.

repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue TrajectoryRecallInstance.Builder
Returns
Type Description
TrajectoryRecallInput.Builder

addInstances(int index, TrajectoryRecallInstance value)

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];

Parameters
Name Description
index int
value TrajectoryRecallInstance
Returns
Type Description
TrajectoryRecallInput.Builder

addInstances(int index, TrajectoryRecallInstance.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue TrajectoryRecallInstance.Builder
Returns
Type Description
TrajectoryRecallInput.Builder

addInstancesBuilder()

public TrajectoryRecallInstance.Builder addInstancesBuilder()

Required. Repeated TrajectoryRecall instance.

repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TrajectoryRecallInstance.Builder

addInstancesBuilder(int index)

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
Returns
Type Description
TrajectoryRecallInstance.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TrajectoryRecallInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TrajectoryRecallInput.Builder
Overrides

build()

public TrajectoryRecallInput build()
Returns
Type Description
TrajectoryRecallInput

buildPartial()

public TrajectoryRecallInput buildPartial()
Returns
Type Description
TrajectoryRecallInput

clear()

public TrajectoryRecallInput.Builder clear()
Returns
Type Description
TrajectoryRecallInput.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TrajectoryRecallInput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TrajectoryRecallInput.Builder
Overrides

clearInstances()

public TrajectoryRecallInput.Builder clearInstances()

Required. Repeated TrajectoryRecall instance.

repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TrajectoryRecallInput.Builder

clearMetricSpec()

public TrajectoryRecallInput.Builder clearMetricSpec()

Required. Spec for TrajectoryRecall metric.

.google.cloud.aiplatform.v1beta1.TrajectoryRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TrajectoryRecallInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public TrajectoryRecallInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TrajectoryRecallInput.Builder
Overrides

clone()

public TrajectoryRecallInput.Builder clone()
Returns
Type Description
TrajectoryRecallInput.Builder
Overrides

getDefaultInstanceForType()

public TrajectoryRecallInput getDefaultInstanceForType()
Returns
Type Description
TrajectoryRecallInput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInstances(int index)

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
Returns
Type Description
TrajectoryRecallInstance

getInstancesBuilder(int index)

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
Returns
Type Description
TrajectoryRecallInstance.Builder

getInstancesBuilderList()

public List<TrajectoryRecallInstance.Builder> getInstancesBuilderList()

Required. Repeated TrajectoryRecall instance.

repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getInstancesCount()

public int getInstancesCount()

Required. Repeated TrajectoryRecall instance.

repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getInstancesList()

public List<TrajectoryRecallInstance> getInstancesList()

Required. Repeated TrajectoryRecall instance.

repeated .google.cloud.aiplatform.v1beta1.TrajectoryRecallInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<TrajectoryRecallInstance>

getInstancesOrBuilder(int index)

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
Returns
Type Description
TrajectoryRecallInstanceOrBuilder

getInstancesOrBuilderList()

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>

getMetricSpec()

public TrajectoryRecallSpec getMetricSpec()

Required. Spec for TrajectoryRecall metric.

.google.cloud.aiplatform.v1beta1.TrajectoryRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TrajectoryRecallSpec

The metricSpec.

getMetricSpecBuilder()

public TrajectoryRecallSpec.Builder getMetricSpecBuilder()

Required. Spec for TrajectoryRecall metric.

.google.cloud.aiplatform.v1beta1.TrajectoryRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TrajectoryRecallSpec.Builder

getMetricSpecOrBuilder()

public TrajectoryRecallSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for TrajectoryRecall metric.

.google.cloud.aiplatform.v1beta1.TrajectoryRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TrajectoryRecallSpecOrBuilder

hasMetricSpec()

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TrajectoryRecallInput other)

public TrajectoryRecallInput.Builder mergeFrom(TrajectoryRecallInput other)
Parameter
Name Description
other TrajectoryRecallInput
Returns
Type Description
TrajectoryRecallInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TrajectoryRecallInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrajectoryRecallInput.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TrajectoryRecallInput.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TrajectoryRecallInput.Builder
Overrides

mergeMetricSpec(TrajectoryRecallSpec value)

public TrajectoryRecallInput.Builder mergeMetricSpec(TrajectoryRecallSpec value)

Required. Spec for TrajectoryRecall metric.

.google.cloud.aiplatform.v1beta1.TrajectoryRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TrajectoryRecallSpec
Returns
Type Description
TrajectoryRecallInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TrajectoryRecallInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TrajectoryRecallInput.Builder
Overrides

removeInstances(int index)

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
Returns
Type Description
TrajectoryRecallInput.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TrajectoryRecallInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TrajectoryRecallInput.Builder
Overrides

setInstances(int index, TrajectoryRecallInstance value)

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];

Parameters
Name Description
index int
value TrajectoryRecallInstance
Returns
Type Description
TrajectoryRecallInput.Builder

setInstances(int index, TrajectoryRecallInstance.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue TrajectoryRecallInstance.Builder
Returns
Type Description
TrajectoryRecallInput.Builder

setMetricSpec(TrajectoryRecallSpec value)

public TrajectoryRecallInput.Builder setMetricSpec(TrajectoryRecallSpec value)

Required. Spec for TrajectoryRecall metric.

.google.cloud.aiplatform.v1beta1.TrajectoryRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TrajectoryRecallSpec
Returns
Type Description
TrajectoryRecallInput.Builder

setMetricSpec(TrajectoryRecallSpec.Builder builderForValue)

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];

Parameter
Name Description
builderForValue TrajectoryRecallSpec.Builder
Returns
Type Description
TrajectoryRecallInput.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TrajectoryRecallInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TrajectoryRecallInput.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TrajectoryRecallInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TrajectoryRecallInput.Builder
Overrides