public static final class ToolParameterKeyMatchInput.Builder extends GeneratedMessage.Builder<ToolParameterKeyMatchInput.Builder> implements ToolParameterKeyMatchInputOrBuilderInput for tool parameter key match metric.
Protobuf type google.cloud.aiplatform.v1.ToolParameterKeyMatchInput
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ToolParameterKeyMatchInput.BuilderImplements
ToolParameterKeyMatchInputOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllInstances(Iterable<? extends ToolParameterKeyMatchInstance> values)
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> |
| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchInput.Builder |
|
addInstances(ToolParameterKeyMatchInstance value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
ToolParameterKeyMatchInstance |
| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchInput.Builder |
|
addInstances(ToolParameterKeyMatchInstance.Builder builderForValue)
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ToolParameterKeyMatchInstance.Builder |
| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchInput.Builder |
|
addInstances(int index, ToolParameterKeyMatchInstance value)
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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ToolParameterKeyMatchInstance |
| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchInput.Builder |
|
addInstances(int index, ToolParameterKeyMatchInstance.Builder builderForValue)
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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ToolParameterKeyMatchInstance.Builder |
| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchInput.Builder |
|
addInstancesBuilder()
public ToolParameterKeyMatchInstance.Builder addInstancesBuilder()Required. Repeated tool parameter key match instances.
repeated .google.cloud.aiplatform.v1.ToolParameterKeyMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchInstance.Builder |
|
addInstancesBuilder(int index)
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 |
| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchInstance.Builder |
|
build()
public ToolParameterKeyMatchInput build()| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchInput |
|
buildPartial()
public ToolParameterKeyMatchInput buildPartial()| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchInput |
|
clear()
public ToolParameterKeyMatchInput.Builder clear()| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchInput.Builder |
|
clearInstances()
public ToolParameterKeyMatchInput.Builder clearInstances()Required. Repeated tool parameter key match instances.
repeated .google.cloud.aiplatform.v1.ToolParameterKeyMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchInput.Builder |
|
clearMetricSpec()
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];
| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchInput.Builder |
|
getDefaultInstanceForType()
public ToolParameterKeyMatchInput getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchInput |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInstances(int index)
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 |
| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchInstance |
|
getInstancesBuilder(int index)
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 |
| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchInstance.Builder |
|
getInstancesBuilderList()
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];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getInstancesCount()
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 |
|
getInstancesList()
public List<ToolParameterKeyMatchInstance> getInstancesList()Required. Repeated tool parameter key match instances.
repeated .google.cloud.aiplatform.v1.ToolParameterKeyMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<ToolParameterKeyMatchInstance> |
|
getInstancesOrBuilder(int index)
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 |
| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchInstanceOrBuilder |
|
getInstancesOrBuilderList()
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> |
|
getMetricSpec()
public ToolParameterKeyMatchSpec getMetricSpec()Required. Spec for tool parameter key match metric.
.google.cloud.aiplatform.v1.ToolParameterKeyMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchSpec |
The metricSpec. |
getMetricSpecBuilder()
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];
| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchSpec.Builder |
|
getMetricSpecOrBuilder()
public ToolParameterKeyMatchSpecOrBuilder getMetricSpecOrBuilder()Required. Spec for tool parameter key match metric.
.google.cloud.aiplatform.v1.ToolParameterKeyMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchSpecOrBuilder |
|
hasMetricSpec()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ToolParameterKeyMatchInput other)
public ToolParameterKeyMatchInput.Builder mergeFrom(ToolParameterKeyMatchInput other)| Parameter | |
|---|---|
| Name | Description |
other |
ToolParameterKeyMatchInput |
| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchInput.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ToolParameterKeyMatchInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchInput.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ToolParameterKeyMatchInput.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchInput.Builder |
|
mergeMetricSpec(ToolParameterKeyMatchSpec value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
ToolParameterKeyMatchSpec |
| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchInput.Builder |
|
removeInstances(int index)
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 |
| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchInput.Builder |
|
setInstances(int index, ToolParameterKeyMatchInstance value)
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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ToolParameterKeyMatchInstance |
| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchInput.Builder |
|
setInstances(int index, ToolParameterKeyMatchInstance.Builder builderForValue)
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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ToolParameterKeyMatchInstance.Builder |
| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchInput.Builder |
|
setMetricSpec(ToolParameterKeyMatchSpec value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
ToolParameterKeyMatchSpec |
| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchInput.Builder |
|
setMetricSpec(ToolParameterKeyMatchSpec.Builder builderForValue)
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ToolParameterKeyMatchSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
ToolParameterKeyMatchInput.Builder |
|