Interface DirectPredictRequestOrBuilder (1.7.0)

publicinterface DirectPredictRequestOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getEndpoint()

publicabstractStringgetEndpoint()

Required. The name of the Endpoint requested to serve the prediction. Format: projects/{project}/locations/{location}/endpoints/{endpoint}

string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The endpoint.

getEndpointBytes()

publicabstractByteStringgetEndpointBytes()

Required. The name of the Endpoint requested to serve the prediction. Format: projects/{project}/locations/{location}/endpoints/{endpoint}

string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for endpoint.

getInputs(int index)

publicabstractTensorgetInputs(intindex)

The prediction input.

repeated .google.cloud.vertexai.v1.Tensor inputs = 2;

Parameter
Name Description
index int
Returns
Type Description
Tensor

getInputsCount()

publicabstractintgetInputsCount()

The prediction input.

repeated .google.cloud.vertexai.v1.Tensor inputs = 2;

Returns
Type Description
int

getInputsList()

publicabstractList<Tensor>getInputsList()

The prediction input.

repeated .google.cloud.vertexai.v1.Tensor inputs = 2;

Returns
Type Description
List<Tensor>

getInputsOrBuilder(int index)

publicabstractTensorOrBuildergetInputsOrBuilder(intindex)

The prediction input.

repeated .google.cloud.vertexai.v1.Tensor inputs = 2;

Parameter
Name Description
index int
Returns
Type Description
TensorOrBuilder

getInputsOrBuilderList()

publicabstractList<?extendsTensorOrBuilder>getInputsOrBuilderList()

The prediction input.

repeated .google.cloud.vertexai.v1.Tensor inputs = 2;

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 = 3;

Returns
Type Description
Tensor

The parameters.

getParametersOrBuilder()

publicabstractTensorOrBuildergetParametersOrBuilder()

The parameters that govern the prediction.

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

Returns
Type Description
TensorOrBuilder

hasParameters()

publicabstractbooleanhasParameters()

The parameters that govern the prediction.

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

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.