Interface DirectRawPredictRequestOrBuilder (3.41.0)

public interface DirectRawPredictRequestOrBuilder 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.

getInput()

public abstract ByteString getInput()

The prediction input.

bytes input = 3;

Returns
TypeDescription
ByteString

The input.

getMethodName()

public abstract String getMethodName()

Fully qualified name of the API method being invoked to perform predictions.

Format: /namespace.Service/Method/ Example: /tensorflow.serving.PredictionService/Predict

string method_name = 2;

Returns
TypeDescription
String

The methodName.

getMethodNameBytes()

public abstract ByteString getMethodNameBytes()

Fully qualified name of the API method being invoked to perform predictions.

Format: /namespace.Service/Method/ Example: /tensorflow.serving.PredictionService/Predict

string method_name = 2;

Returns
TypeDescription
ByteString

The bytes for methodName.