Interface ChatCompletionsRequestOrBuilder (3.49.0)

public interface ChatCompletionsRequestOrBuilder 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/openapi

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/openapi

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

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

.google.api.HttpBody http_body = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.api.HttpBody

The httpBody.

getHttpBodyOrBuilder()

public abstract HttpBodyOrBuilder getHttpBodyOrBuilder()

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

.google.api.HttpBody http_body = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.api.HttpBodyOrBuilder

hasHttpBody()

public abstract boolean hasHttpBody()

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

.google.api.HttpBody http_body = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the httpBody field is set.