Class TrajectorySingleToolUseInstance.Builder (3.56.0)

public static final class TrajectorySingleToolUseInstance.Builder extends GeneratedMessageV3.Builder<TrajectorySingleToolUseInstance.Builder> implements TrajectorySingleToolUseInstanceOrBuilder

Spec for TrajectorySingleToolUse instance.

Protobuf type google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInstance

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TrajectorySingleToolUseInstance.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TrajectorySingleToolUseInstance.Builder
Overrides

build()

public TrajectorySingleToolUseInstance build()
Returns
Type Description
TrajectorySingleToolUseInstance

buildPartial()

public TrajectorySingleToolUseInstance buildPartial()
Returns
Type Description
TrajectorySingleToolUseInstance

clear()

public TrajectorySingleToolUseInstance.Builder clear()
Returns
Type Description
TrajectorySingleToolUseInstance.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TrajectorySingleToolUseInstance.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TrajectorySingleToolUseInstance.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TrajectorySingleToolUseInstance.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TrajectorySingleToolUseInstance.Builder
Overrides

clearPredictedTrajectory()

public TrajectorySingleToolUseInstance.Builder clearPredictedTrajectory()

Required. Spec for predicted tool call trajectory.

optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TrajectorySingleToolUseInstance.Builder

clone()

public TrajectorySingleToolUseInstance.Builder clone()
Returns
Type Description
TrajectorySingleToolUseInstance.Builder
Overrides

getDefaultInstanceForType()

public TrajectorySingleToolUseInstance getDefaultInstanceForType()
Returns
Type Description
TrajectorySingleToolUseInstance

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPredictedTrajectory()

public Trajectory getPredictedTrajectory()

Required. Spec for predicted tool call trajectory.

optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Trajectory

The predictedTrajectory.

getPredictedTrajectoryBuilder()

public Trajectory.Builder getPredictedTrajectoryBuilder()

Required. Spec for predicted tool call trajectory.

optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Trajectory.Builder

getPredictedTrajectoryOrBuilder()

public TrajectoryOrBuilder getPredictedTrajectoryOrBuilder()

Required. Spec for predicted tool call trajectory.

optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TrajectoryOrBuilder

hasPredictedTrajectory()

public boolean hasPredictedTrajectory()

Required. Spec for predicted tool call trajectory.

optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the predictedTrajectory field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TrajectorySingleToolUseInstance other)

public TrajectorySingleToolUseInstance.Builder mergeFrom(TrajectorySingleToolUseInstance other)
Parameter
Name Description
other TrajectorySingleToolUseInstance
Returns
Type Description
TrajectorySingleToolUseInstance.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TrajectorySingleToolUseInstance.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrajectorySingleToolUseInstance.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TrajectorySingleToolUseInstance.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TrajectorySingleToolUseInstance.Builder
Overrides

mergePredictedTrajectory(Trajectory value)

public TrajectorySingleToolUseInstance.Builder mergePredictedTrajectory(Trajectory value)

Required. Spec for predicted tool call trajectory.

optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Trajectory
Returns
Type Description
TrajectorySingleToolUseInstance.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TrajectorySingleToolUseInstance.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TrajectorySingleToolUseInstance.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TrajectorySingleToolUseInstance.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TrajectorySingleToolUseInstance.Builder
Overrides

setPredictedTrajectory(Trajectory value)

public TrajectorySingleToolUseInstance.Builder setPredictedTrajectory(Trajectory value)

Required. Spec for predicted tool call trajectory.

optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Trajectory
Returns
Type Description
TrajectorySingleToolUseInstance.Builder

setPredictedTrajectory(Trajectory.Builder builderForValue)

public TrajectorySingleToolUseInstance.Builder setPredictedTrajectory(Trajectory.Builder builderForValue)

Required. Spec for predicted tool call trajectory.

optional .google.cloud.aiplatform.v1beta1.Trajectory predicted_trajectory = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Trajectory.Builder
Returns
Type Description
TrajectorySingleToolUseInstance.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TrajectorySingleToolUseInstance.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TrajectorySingleToolUseInstance.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TrajectorySingleToolUseInstance.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TrajectorySingleToolUseInstance.Builder
Overrides