Interface DirectPredictResponseOrBuilder (1.20.1)

publicinterface DirectPredictResponseOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getOutputs(int index)

publicabstractTensorgetOutputs(intindex)

The prediction output.

repeated .google.cloud.vertexai.v1.Tensor outputs = 1;

Parameter
Name Description
index int
Returns
Type Description
Tensor

getOutputsCount()

publicabstractintgetOutputsCount()

The prediction output.

repeated .google.cloud.vertexai.v1.Tensor outputs = 1;

Returns
Type Description
int

getOutputsList()

publicabstractList<Tensor>getOutputsList()

The prediction output.

repeated .google.cloud.vertexai.v1.Tensor outputs = 1;

Returns
Type Description
List<Tensor>

getOutputsOrBuilder(int index)

publicabstractTensorOrBuildergetOutputsOrBuilder(intindex)

The prediction output.

repeated .google.cloud.vertexai.v1.Tensor outputs = 1;

Parameter
Name Description
index int
Returns
Type Description
TensorOrBuilder

getOutputsOrBuilderList()

publicabstractList<?extendsTensorOrBuilder>getOutputsOrBuilderList()

The prediction output.

repeated .google.cloud.vertexai.v1.Tensor outputs = 1;

Returns
Type Description
List<? extends com.google.cloud.vertexai.api.TensorOrBuilder>

getParameters()

publicabstractTensorgetParameters()

The parameters that govern the prediction.

.google.cloud.vertexai.v1.Tensor parameters = 2;

Returns
Type Description
Tensor

The parameters.

getParametersOrBuilder()

publicabstractTensorOrBuildergetParametersOrBuilder()

The parameters that govern the prediction.

.google.cloud.vertexai.v1.Tensor parameters = 2;

Returns
Type Description
TensorOrBuilder

hasParameters()

publicabstractbooleanhasParameters()

The parameters that govern the prediction.

.google.cloud.vertexai.v1.Tensor parameters = 2;

Returns
Type Description
boolean

Whether the parameters field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.