Package com.google.cloud.aiplatform.v1
Interface StreamRawPredictRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StreamRawPredictRequest,StreamRawPredictRequest.Builder
@Generated
public interface StreamRawPredictRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.The prediction input.The prediction input.booleanThe prediction input.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getEndpoint
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:
- The endpoint.
-
getEndpointBytes
com.google.protobuf.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:
- The bytes for endpoint.
-
hasHttpBody
boolean hasHttpBody()The prediction input. Supports HTTP headers and arbitrary data payload.
.google.api.HttpBody http_body = 2;- Returns:
- Whether the httpBody field is set.
-
getHttpBody
HttpBody getHttpBody()The prediction input. Supports HTTP headers and arbitrary data payload.
.google.api.HttpBody http_body = 2;- Returns:
- The httpBody.
-
getHttpBodyOrBuilder
HttpBodyOrBuilder getHttpBodyOrBuilder()The prediction input. Supports HTTP headers and arbitrary data payload.
.google.api.HttpBody http_body = 2;
-