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