Interface StreamDirectPredictRequestOrBuilder (3.53.0)

public interface StreamDirectPredictRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEndpoint()

public abstract String getEndpoint()

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()

public abstract ByteString getEndpointBytes()

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)

public abstract Tensor getInputs(int index)

Optional. The prediction input.

repeated .google.cloud.aiplatform.v1.Tensor inputs = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Tensor

getInputsCount()

public abstract int getInputsCount()

Optional. The prediction input.

repeated .google.cloud.aiplatform.v1.Tensor inputs = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getInputsList()

public abstract List<Tensor> getInputsList()

Optional. The prediction input.

repeated .google.cloud.aiplatform.v1.Tensor inputs = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Tensor>

getInputsOrBuilder(int index)

public abstract TensorOrBuilder getInputsOrBuilder(int index)

Optional. The prediction input.

repeated .google.cloud.aiplatform.v1.Tensor inputs = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
TensorOrBuilder

getInputsOrBuilderList()

public abstract List<? extends TensorOrBuilder> getInputsOrBuilderList()

Optional. The prediction input.

repeated .google.cloud.aiplatform.v1.Tensor inputs = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.TensorOrBuilder>

getParameters()

public abstract Tensor getParameters()

Optional. The parameters that govern the prediction.

.google.cloud.aiplatform.v1.Tensor parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Tensor

The parameters.

getParametersOrBuilder()

public abstract TensorOrBuilder getParametersOrBuilder()

Optional. The parameters that govern the prediction.

.google.cloud.aiplatform.v1.Tensor parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TensorOrBuilder

hasParameters()

public abstract boolean hasParameters()

Optional. The parameters that govern the prediction.

.google.cloud.aiplatform.v1.Tensor parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the parameters field is set.