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