Interface StreamDirectPredictRequestOrBuilder (3.36.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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Tensor

getInputsCount()

public abstract int getInputsCount()

Optional. The prediction input.

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

Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the parameters field is set.