Interface StreamDirectRawPredictRequestOrBuilder (3.47.0)

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

getInput()

public abstract ByteString getInput()

Optional. The prediction input.

bytes input = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The input.

getMethodName()

public abstract String getMethodName()

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The methodName.

getMethodNameBytes()

public abstract ByteString getMethodNameBytes()

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for methodName.