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