Interface StreamRawPredictRequestOrBuilder (1.36.0)

publicinterface StreamRawPredictRequestOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

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.

getHttpBody()

publicabstractHttpBodygetHttpBody()

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()

publicabstractHttpBodyOrBuildergetHttpBodyOrBuilder()

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

.google.api.HttpBody http_body = 2;

Returns
Type Description
com.google.api.HttpBodyOrBuilder

hasHttpBody()

publicabstractbooleanhasHttpBody()

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.