Class TrajectoryExactMatchInput.Builder (3.56.0)

public static final class TrajectoryExactMatchInput.Builder extends GeneratedMessageV3.Builder<TrajectoryExactMatchInput.Builder> implements TrajectoryExactMatchInputOrBuilder

Instances and metric spec for TrajectoryExactMatch metric.

Protobuf type google.cloud.aiplatform.v1beta1.TrajectoryExactMatchInput

Static Methods

getDescriptor()

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

Methods

addAllInstances(Iterable<? extends TrajectoryExactMatchInstance> values)

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

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

addInstances(TrajectoryExactMatchInstance value)

public TrajectoryExactMatchInput.Builder addInstances(TrajectoryExactMatchInstance value)

Required. Repeated TrajectoryExactMatch instance.

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

Parameter
Name Description
value TrajectoryExactMatchInstance
Returns
Type Description
TrajectoryExactMatchInput.Builder

addInstances(TrajectoryExactMatchInstance.Builder builderForValue)

public TrajectoryExactMatchInput.Builder addInstances(TrajectoryExactMatchInstance.Builder builderForValue)

Required. Repeated TrajectoryExactMatch instance.

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

Parameter
Name Description
builderForValue TrajectoryExactMatchInstance.Builder
Returns
Type Description
TrajectoryExactMatchInput.Builder

addInstances(int index, TrajectoryExactMatchInstance value)

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

Parameters
Name Description
index int
value TrajectoryExactMatchInstance
Returns
Type Description
TrajectoryExactMatchInput.Builder

addInstances(int index, TrajectoryExactMatchInstance.Builder builderForValue)

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

Parameters
Name Description
index int
builderForValue TrajectoryExactMatchInstance.Builder
Returns
Type Description
TrajectoryExactMatchInput.Builder

addInstancesBuilder()

public TrajectoryExactMatchInstance.Builder addInstancesBuilder()

Required. Repeated TrajectoryExactMatch instance.

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

Returns
Type Description
TrajectoryExactMatchInstance.Builder

addInstancesBuilder(int index)

public TrajectoryExactMatchInstance.Builder addInstancesBuilder(int index)

Required. Repeated TrajectoryExactMatch instance.

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

Parameter
Name Description
index int
Returns
Type Description
TrajectoryExactMatchInstance.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TrajectoryExactMatchInput build()
Returns
Type Description
TrajectoryExactMatchInput

buildPartial()

public TrajectoryExactMatchInput buildPartial()
Returns
Type Description
TrajectoryExactMatchInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstances()

public TrajectoryExactMatchInput.Builder clearInstances()

Required. Repeated TrajectoryExactMatch instance.

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

Returns
Type Description
TrajectoryExactMatchInput.Builder

clearMetricSpec()

public TrajectoryExactMatchInput.Builder clearMetricSpec()

Required. Spec for TrajectoryExactMatch metric.

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

Returns
Type Description
TrajectoryExactMatchInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public TrajectoryExactMatchInput getDefaultInstanceForType()
Returns
Type Description
TrajectoryExactMatchInput

getDescriptorForType()

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

getInstances(int index)

public TrajectoryExactMatchInstance getInstances(int index)

Required. Repeated TrajectoryExactMatch instance.

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

Parameter
Name Description
index int
Returns
Type Description
TrajectoryExactMatchInstance

getInstancesBuilder(int index)

public TrajectoryExactMatchInstance.Builder getInstancesBuilder(int index)

Required. Repeated TrajectoryExactMatch instance.

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

Parameter
Name Description
index int
Returns
Type Description
TrajectoryExactMatchInstance.Builder

getInstancesBuilderList()

public List<TrajectoryExactMatchInstance.Builder> getInstancesBuilderList()

Required. Repeated TrajectoryExactMatch instance.

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

Returns
Type Description
List<Builder>

getInstancesCount()

public int getInstancesCount()

Required. Repeated TrajectoryExactMatch instance.

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

Returns
Type Description
int

getInstancesList()

public List<TrajectoryExactMatchInstance> getInstancesList()

Required. Repeated TrajectoryExactMatch instance.

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

Returns
Type Description
List<TrajectoryExactMatchInstance>

getInstancesOrBuilder(int index)

public TrajectoryExactMatchInstanceOrBuilder getInstancesOrBuilder(int index)

Required. Repeated TrajectoryExactMatch instance.

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

Parameter
Name Description
index int
Returns
Type Description
TrajectoryExactMatchInstanceOrBuilder

getInstancesOrBuilderList()

public List<? extends TrajectoryExactMatchInstanceOrBuilder> getInstancesOrBuilderList()

Required. Repeated TrajectoryExactMatch instance.

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

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

getMetricSpec()

public TrajectoryExactMatchSpec getMetricSpec()

Required. Spec for TrajectoryExactMatch metric.

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

Returns
Type Description
TrajectoryExactMatchSpec

The metricSpec.

getMetricSpecBuilder()

public TrajectoryExactMatchSpec.Builder getMetricSpecBuilder()

Required. Spec for TrajectoryExactMatch metric.

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

Returns
Type Description
TrajectoryExactMatchSpec.Builder

getMetricSpecOrBuilder()

public TrajectoryExactMatchSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for TrajectoryExactMatch metric.

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

Returns
Type Description
TrajectoryExactMatchSpecOrBuilder

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for TrajectoryExactMatch metric.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMetricSpec(TrajectoryExactMatchSpec value)

public TrajectoryExactMatchInput.Builder mergeMetricSpec(TrajectoryExactMatchSpec value)

Required. Spec for TrajectoryExactMatch metric.

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

Parameter
Name Description
value TrajectoryExactMatchSpec
Returns
Type Description
TrajectoryExactMatchInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeInstances(int index)

public TrajectoryExactMatchInput.Builder removeInstances(int index)

Required. Repeated TrajectoryExactMatch instance.

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

Parameter
Name Description
index int
Returns
Type Description
TrajectoryExactMatchInput.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstances(int index, TrajectoryExactMatchInstance value)

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

Parameters
Name Description
index int
value TrajectoryExactMatchInstance
Returns
Type Description
TrajectoryExactMatchInput.Builder

setInstances(int index, TrajectoryExactMatchInstance.Builder builderForValue)

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

Parameters
Name Description
index int
builderForValue TrajectoryExactMatchInstance.Builder
Returns
Type Description
TrajectoryExactMatchInput.Builder

setMetricSpec(TrajectoryExactMatchSpec value)

public TrajectoryExactMatchInput.Builder setMetricSpec(TrajectoryExactMatchSpec value)

Required. Spec for TrajectoryExactMatch metric.

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

Parameter
Name Description
value TrajectoryExactMatchSpec
Returns
Type Description
TrajectoryExactMatchInput.Builder

setMetricSpec(TrajectoryExactMatchSpec.Builder builderForValue)

public TrajectoryExactMatchInput.Builder setMetricSpec(TrajectoryExactMatchSpec.Builder builderForValue)

Required. Spec for TrajectoryExactMatch metric.

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

Parameter
Name Description
builderForValue TrajectoryExactMatchSpec.Builder
Returns
Type Description
TrajectoryExactMatchInput.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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