Interface StreamDirectRawPredictRequestOrBuilder (1.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface StreamDirectRawPredictRequestOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getEndpoint()
publicabstractStringgetEndpoint() 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()
publicabstractByteStringgetEndpointBytes() 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()
publicabstractByteStringgetInput()Optional. The prediction input.
bytes input = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The input. |
getMethodName()
publicabstractStringgetMethodName()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()
publicabstractByteStringgetMethodNameBytes()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. |