Class TrajectorySingleToolUseInput (3.56.0)

public final class TrajectorySingleToolUseInput extends GeneratedMessageV3 implements TrajectorySingleToolUseInputOrBuilder

Instances and metric spec for TrajectorySingleToolUse metric.

Protobuf type google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInput

Static Fields

INSTANCES_FIELD_NUMBER

public static final int INSTANCES_FIELD_NUMBER
Field Value
Type Description
int

METRIC_SPEC_FIELD_NUMBER

public static final int METRIC_SPEC_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TrajectorySingleToolUseInput getDefaultInstance()
Returns
Type Description
TrajectorySingleToolUseInput

getDescriptor()

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

newBuilder()

public static TrajectorySingleToolUseInput.Builder newBuilder()
Returns
Type Description
TrajectorySingleToolUseInput.Builder

newBuilder(TrajectorySingleToolUseInput prototype)

public static TrajectorySingleToolUseInput.Builder newBuilder(TrajectorySingleToolUseInput prototype)
Parameter
Name Description
prototype TrajectorySingleToolUseInput
Returns
Type Description
TrajectorySingleToolUseInput.Builder

parseDelimitedFrom(InputStream input)

public static TrajectorySingleToolUseInput parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TrajectorySingleToolUseInput
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TrajectorySingleToolUseInput parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrajectorySingleToolUseInput
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TrajectorySingleToolUseInput parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TrajectorySingleToolUseInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TrajectorySingleToolUseInput parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrajectorySingleToolUseInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TrajectorySingleToolUseInput parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TrajectorySingleToolUseInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TrajectorySingleToolUseInput parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrajectorySingleToolUseInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TrajectorySingleToolUseInput parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TrajectorySingleToolUseInput
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TrajectorySingleToolUseInput parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrajectorySingleToolUseInput
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TrajectorySingleToolUseInput parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TrajectorySingleToolUseInput
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TrajectorySingleToolUseInput parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrajectorySingleToolUseInput
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TrajectorySingleToolUseInput parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TrajectorySingleToolUseInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TrajectorySingleToolUseInput parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrajectorySingleToolUseInput
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TrajectorySingleToolUseInput> parser()
Returns
Type Description
Parser<TrajectorySingleToolUseInput>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public TrajectorySingleToolUseInput getDefaultInstanceForType()
Returns
Type Description
TrajectorySingleToolUseInput

getInstances(int index)

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
Returns
Type Description
TrajectorySingleToolUseInstance

getInstancesCount()

public int getInstancesCount()

Required. Repeated TrajectorySingleToolUse instance.

repeated .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getInstancesList()

public List<TrajectorySingleToolUseInstance> getInstancesList()

Required. Repeated TrajectorySingleToolUse instance.

repeated .google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<TrajectorySingleToolUseInstance>

getInstancesOrBuilder(int index)

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
Returns
Type Description
TrajectorySingleToolUseInstanceOrBuilder

getInstancesOrBuilderList()

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>

getMetricSpec()

public TrajectorySingleToolUseSpec getMetricSpec()

Required. Spec for TrajectorySingleToolUse metric.

.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TrajectorySingleToolUseSpec

The metricSpec.

getMetricSpecOrBuilder()

public TrajectorySingleToolUseSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for TrajectorySingleToolUse metric.

.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TrajectorySingleToolUseSpecOrBuilder

getParserForType()

public Parser<TrajectorySingleToolUseInput> getParserForType()
Returns
Type Description
Parser<TrajectorySingleToolUseInput>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasMetricSpec()

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TrajectorySingleToolUseInput.Builder newBuilderForType()
Returns
Type Description
TrajectorySingleToolUseInput.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TrajectorySingleToolUseInput.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TrajectorySingleToolUseInput.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TrajectorySingleToolUseInput.Builder toBuilder()
Returns
Type Description
TrajectorySingleToolUseInput.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException