public static final class ToolParameterKVMatchInput.Builder extends GeneratedMessageV3.Builder<ToolParameterKVMatchInput.Builder> implements ToolParameterKVMatchInputOrBuilder
Input for tool parameter key value match metric.
Protobuf type google.cloud.aiplatform.v1.ToolParameterKVMatchInput
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 ToolParameterKVMatchInput.Builder addAllInstances(Iterable<? extends ToolParameterKVMatchInstance> values)
Required. Repeated tool parameter key value match instances.
repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1.ToolParameterKVMatchInstance>
|
public ToolParameterKVMatchInput.Builder addInstances(ToolParameterKVMatchInstance value)
Required. Repeated tool parameter key value match instances.
repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public ToolParameterKVMatchInput.Builder addInstances(ToolParameterKVMatchInstance.Builder builderForValue)
Required. Repeated tool parameter key value match instances.
repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public ToolParameterKVMatchInput.Builder addInstances(int index, ToolParameterKVMatchInstance value)
Required. Repeated tool parameter key value match instances.
repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public ToolParameterKVMatchInput.Builder addInstances(int index, ToolParameterKVMatchInstance.Builder builderForValue)
Required. Repeated tool parameter key value match instances.
repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public ToolParameterKVMatchInstance.Builder addInstancesBuilder()
Required. Repeated tool parameter key value match instances.
repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public ToolParameterKVMatchInstance.Builder addInstancesBuilder(int index)
Required. Repeated tool parameter key value match instances.
repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
public ToolParameterKVMatchInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ToolParameterKVMatchInput build()
public ToolParameterKVMatchInput buildPartial()
public ToolParameterKVMatchInput.Builder clear()
Overrides
public ToolParameterKVMatchInput.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ToolParameterKVMatchInput.Builder clearInstances()
Required. Repeated tool parameter key value match instances.
repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public ToolParameterKVMatchInput.Builder clearMetricSpec()
Required. Spec for tool parameter key value match metric.
.google.cloud.aiplatform.v1.ToolParameterKVMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public ToolParameterKVMatchInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ToolParameterKVMatchInput.Builder clone()
Overrides
public ToolParameterKVMatchInput getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public ToolParameterKVMatchInstance getInstances(int index)
Required. Repeated tool parameter key value match instances.
repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
public ToolParameterKVMatchInstance.Builder getInstancesBuilder(int index)
Required. Repeated tool parameter key value match instances.
repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
public List<ToolParameterKVMatchInstance.Builder> getInstancesBuilderList()
Required. Repeated tool parameter key value match instances.
repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public int getInstancesCount()
Required. Repeated tool parameter key value match instances.
repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
public List<ToolParameterKVMatchInstance> getInstancesList()
Required. Repeated tool parameter key value match instances.
repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public ToolParameterKVMatchInstanceOrBuilder getInstancesOrBuilder(int index)
Required. Repeated tool parameter key value match instances.
repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
public List<? extends ToolParameterKVMatchInstanceOrBuilder> getInstancesOrBuilderList()
Required. Repeated tool parameter key value match instances.
repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.aiplatform.v1.ToolParameterKVMatchInstanceOrBuilder> |
|
public ToolParameterKVMatchSpec getMetricSpec()
Required. Spec for tool parameter key value match metric.
.google.cloud.aiplatform.v1.ToolParameterKVMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public ToolParameterKVMatchSpec.Builder getMetricSpecBuilder()
Required. Spec for tool parameter key value match metric.
.google.cloud.aiplatform.v1.ToolParameterKVMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public ToolParameterKVMatchSpecOrBuilder getMetricSpecOrBuilder()
Required. Spec for tool parameter key value match metric.
.google.cloud.aiplatform.v1.ToolParameterKVMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public boolean hasMetricSpec()
Required. Spec for tool parameter key value match metric.
.google.cloud.aiplatform.v1.ToolParameterKVMatchSpec 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 ToolParameterKVMatchInput.Builder mergeFrom(ToolParameterKVMatchInput other)
public ToolParameterKVMatchInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ToolParameterKVMatchInput.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public ToolParameterKVMatchInput.Builder mergeMetricSpec(ToolParameterKVMatchSpec value)
Required. Spec for tool parameter key value match metric.
.google.cloud.aiplatform.v1.ToolParameterKVMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public final ToolParameterKVMatchInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ToolParameterKVMatchInput.Builder removeInstances(int index)
Required. Repeated tool parameter key value match instances.
repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
public ToolParameterKVMatchInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ToolParameterKVMatchInput.Builder setInstances(int index, ToolParameterKVMatchInstance value)
Required. Repeated tool parameter key value match instances.
repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public ToolParameterKVMatchInput.Builder setInstances(int index, ToolParameterKVMatchInstance.Builder builderForValue)
Required. Repeated tool parameter key value match instances.
repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public ToolParameterKVMatchInput.Builder setMetricSpec(ToolParameterKVMatchSpec value)
Required. Spec for tool parameter key value match metric.
.google.cloud.aiplatform.v1.ToolParameterKVMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public ToolParameterKVMatchInput.Builder setMetricSpec(ToolParameterKVMatchSpec.Builder builderForValue)
Required. Spec for tool parameter key value match metric.
.google.cloud.aiplatform.v1.ToolParameterKVMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public ToolParameterKVMatchInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ToolParameterKVMatchInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides