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