Class TrajectoryPrecisionInput.Builder (3.56.0)

public static final class TrajectoryPrecisionInput.Builder extends GeneratedMessageV3.Builder<TrajectoryPrecisionInput.Builder> implements TrajectoryPrecisionInputOrBuilder

Instances and metric spec for TrajectoryPrecision metric.

Protobuf type google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInput

Static Methods

getDescriptor()

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

Methods

addAllInstances(Iterable<? extends TrajectoryPrecisionInstance> values)

public TrajectoryPrecisionInput.Builder addAllInstances(Iterable<? extends TrajectoryPrecisionInstance> values)

Required. Repeated TrajectoryPrecision instance.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstance>
Returns
Type Description
TrajectoryPrecisionInput.Builder

addInstances(TrajectoryPrecisionInstance value)

public TrajectoryPrecisionInput.Builder addInstances(TrajectoryPrecisionInstance value)

Required. Repeated TrajectoryPrecision instance.

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

Parameter
Name Description
value TrajectoryPrecisionInstance
Returns
Type Description
TrajectoryPrecisionInput.Builder

addInstances(TrajectoryPrecisionInstance.Builder builderForValue)

public TrajectoryPrecisionInput.Builder addInstances(TrajectoryPrecisionInstance.Builder builderForValue)

Required. Repeated TrajectoryPrecision instance.

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

Parameter
Name Description
builderForValue TrajectoryPrecisionInstance.Builder
Returns
Type Description
TrajectoryPrecisionInput.Builder

addInstances(int index, TrajectoryPrecisionInstance value)

public TrajectoryPrecisionInput.Builder addInstances(int index, TrajectoryPrecisionInstance value)

Required. Repeated TrajectoryPrecision instance.

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

Parameters
Name Description
index int
value TrajectoryPrecisionInstance
Returns
Type Description
TrajectoryPrecisionInput.Builder

addInstances(int index, TrajectoryPrecisionInstance.Builder builderForValue)

public TrajectoryPrecisionInput.Builder addInstances(int index, TrajectoryPrecisionInstance.Builder builderForValue)

Required. Repeated TrajectoryPrecision instance.

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

Parameters
Name Description
index int
builderForValue TrajectoryPrecisionInstance.Builder
Returns
Type Description
TrajectoryPrecisionInput.Builder

addInstancesBuilder()

public TrajectoryPrecisionInstance.Builder addInstancesBuilder()

Required. Repeated TrajectoryPrecision instance.

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

Returns
Type Description
TrajectoryPrecisionInstance.Builder

addInstancesBuilder(int index)

public TrajectoryPrecisionInstance.Builder addInstancesBuilder(int index)

Required. Repeated TrajectoryPrecision instance.

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

Parameter
Name Description
index int
Returns
Type Description
TrajectoryPrecisionInstance.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TrajectoryPrecisionInput build()
Returns
Type Description
TrajectoryPrecisionInput

buildPartial()

public TrajectoryPrecisionInput buildPartial()
Returns
Type Description
TrajectoryPrecisionInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstances()

public TrajectoryPrecisionInput.Builder clearInstances()

Required. Repeated TrajectoryPrecision instance.

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

Returns
Type Description
TrajectoryPrecisionInput.Builder

clearMetricSpec()

public TrajectoryPrecisionInput.Builder clearMetricSpec()

Required. Spec for TrajectoryPrecision metric.

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

Returns
Type Description
TrajectoryPrecisionInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public TrajectoryPrecisionInput getDefaultInstanceForType()
Returns
Type Description
TrajectoryPrecisionInput

getDescriptorForType()

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

getInstances(int index)

public TrajectoryPrecisionInstance getInstances(int index)

Required. Repeated TrajectoryPrecision instance.

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

Parameter
Name Description
index int
Returns
Type Description
TrajectoryPrecisionInstance

getInstancesBuilder(int index)

public TrajectoryPrecisionInstance.Builder getInstancesBuilder(int index)

Required. Repeated TrajectoryPrecision instance.

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

Parameter
Name Description
index int
Returns
Type Description
TrajectoryPrecisionInstance.Builder

getInstancesBuilderList()

public List<TrajectoryPrecisionInstance.Builder> getInstancesBuilderList()

Required. Repeated TrajectoryPrecision instance.

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

Returns
Type Description
List<Builder>

getInstancesCount()

public int getInstancesCount()

Required. Repeated TrajectoryPrecision instance.

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

Returns
Type Description
int

getInstancesList()

public List<TrajectoryPrecisionInstance> getInstancesList()

Required. Repeated TrajectoryPrecision instance.

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

Returns
Type Description
List<TrajectoryPrecisionInstance>

getInstancesOrBuilder(int index)

public TrajectoryPrecisionInstanceOrBuilder getInstancesOrBuilder(int index)

Required. Repeated TrajectoryPrecision instance.

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

Parameter
Name Description
index int
Returns
Type Description
TrajectoryPrecisionInstanceOrBuilder

getInstancesOrBuilderList()

public List<? extends TrajectoryPrecisionInstanceOrBuilder> getInstancesOrBuilderList()

Required. Repeated TrajectoryPrecision instance.

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

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionInstanceOrBuilder>

getMetricSpec()

public TrajectoryPrecisionSpec getMetricSpec()

Required. Spec for TrajectoryPrecision metric.

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

Returns
Type Description
TrajectoryPrecisionSpec

The metricSpec.

getMetricSpecBuilder()

public TrajectoryPrecisionSpec.Builder getMetricSpecBuilder()

Required. Spec for TrajectoryPrecision metric.

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

Returns
Type Description
TrajectoryPrecisionSpec.Builder

getMetricSpecOrBuilder()

public TrajectoryPrecisionSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for TrajectoryPrecision metric.

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

Returns
Type Description
TrajectoryPrecisionSpecOrBuilder

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for TrajectoryPrecision metric.

.google.cloud.aiplatform.v1beta1.TrajectoryPrecisionSpec 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(TrajectoryPrecisionInput other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMetricSpec(TrajectoryPrecisionSpec value)

public TrajectoryPrecisionInput.Builder mergeMetricSpec(TrajectoryPrecisionSpec value)

Required. Spec for TrajectoryPrecision metric.

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

Parameter
Name Description
value TrajectoryPrecisionSpec
Returns
Type Description
TrajectoryPrecisionInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeInstances(int index)

public TrajectoryPrecisionInput.Builder removeInstances(int index)

Required. Repeated TrajectoryPrecision instance.

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

Parameter
Name Description
index int
Returns
Type Description
TrajectoryPrecisionInput.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstances(int index, TrajectoryPrecisionInstance value)

public TrajectoryPrecisionInput.Builder setInstances(int index, TrajectoryPrecisionInstance value)

Required. Repeated TrajectoryPrecision instance.

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

Parameters
Name Description
index int
value TrajectoryPrecisionInstance
Returns
Type Description
TrajectoryPrecisionInput.Builder

setInstances(int index, TrajectoryPrecisionInstance.Builder builderForValue)

public TrajectoryPrecisionInput.Builder setInstances(int index, TrajectoryPrecisionInstance.Builder builderForValue)

Required. Repeated TrajectoryPrecision instance.

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

Parameters
Name Description
index int
builderForValue TrajectoryPrecisionInstance.Builder
Returns
Type Description
TrajectoryPrecisionInput.Builder

setMetricSpec(TrajectoryPrecisionSpec value)

public TrajectoryPrecisionInput.Builder setMetricSpec(TrajectoryPrecisionSpec value)

Required. Spec for TrajectoryPrecision metric.

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

Parameter
Name Description
value TrajectoryPrecisionSpec
Returns
Type Description
TrajectoryPrecisionInput.Builder

setMetricSpec(TrajectoryPrecisionSpec.Builder builderForValue)

public TrajectoryPrecisionInput.Builder setMetricSpec(TrajectoryPrecisionSpec.Builder builderForValue)

Required. Spec for TrajectoryPrecision metric.

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

Parameter
Name Description
builderForValue TrajectoryPrecisionSpec.Builder
Returns
Type Description
TrajectoryPrecisionInput.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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