Interface StreamRawPredictRequestOrBuilder (3.49.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
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.

getHttpBody()

public abstract HttpBody getHttpBody()

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

.google.api.HttpBody http_body = 2;

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the httpBody field is set.