Interface StreamingPredictRequestOrBuilder (3.34.0)

public interface StreamingPredictRequestOrBuilder 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)

The prediction input.

repeated .google.cloud.aiplatform.v1beta1.Tensor inputs = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Tensor

getInputsCount()

public abstract int getInputsCount()

The prediction input.

repeated .google.cloud.aiplatform.v1beta1.Tensor inputs = 2;

Returns
TypeDescription
int

getInputsList()

public abstract List<Tensor> getInputsList()

The prediction input.

repeated .google.cloud.aiplatform.v1beta1.Tensor inputs = 2;

Returns
TypeDescription
List<Tensor>

getInputsOrBuilder(int index)

public abstract TensorOrBuilder getInputsOrBuilder(int index)

The prediction input.

repeated .google.cloud.aiplatform.v1beta1.Tensor inputs = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
TensorOrBuilder

getInputsOrBuilderList()

public abstract List<? extends TensorOrBuilder> getInputsOrBuilderList()

The prediction input.

repeated .google.cloud.aiplatform.v1beta1.Tensor inputs = 2;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.TensorOrBuilder>

getParameters()

public abstract Tensor getParameters()

The parameters that govern the prediction.

.google.cloud.aiplatform.v1beta1.Tensor parameters = 3;

Returns
TypeDescription
Tensor

The parameters.

getParametersOrBuilder()

public abstract TensorOrBuilder getParametersOrBuilder()

The parameters that govern the prediction.

.google.cloud.aiplatform.v1beta1.Tensor parameters = 3;

Returns
TypeDescription
TensorOrBuilder

hasParameters()

public abstract boolean hasParameters()

The parameters that govern the prediction.

.google.cloud.aiplatform.v1beta1.Tensor parameters = 3;

Returns
TypeDescription
boolean

Whether the parameters field is set.