Interface StreamRawPredictRequestOrBuilder (3.36.0)

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

getHttpBody()

public abstract HttpBody getHttpBody()

The prediction input. Supports HTTP headers and arbitrary data payload.

.google.api.HttpBody http_body = 2;

Returns
TypeDescription
com.google.api.HttpBody

The httpBody.

getHttpBodyOrBuilder()

public abstract HttpBodyOrBuilder getHttpBodyOrBuilder()

The prediction input. Supports HTTP headers and arbitrary data payload.

.google.api.HttpBody http_body = 2;

Returns
TypeDescription
com.google.api.HttpBodyOrBuilder

hasHttpBody()

public abstract boolean hasHttpBody()

The prediction input. Supports HTTP headers and arbitrary data payload.

.google.api.HttpBody http_body = 2;

Returns
TypeDescription
boolean

Whether the httpBody field is set.