public static final class StreamRawPredictRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<StreamRawPredictRequest.Builder> implements StreamRawPredictRequestOrBuilder
Request message for [PredictionService.StreamRawPredict][google.cloud.aiplatform.v1.PredictionService.StreamRawPredict].Protobuf type
google.cloud.aiplatform.v1.StreamRawPredictRequest| Modifier and Type | Method and Description |
|---|---|
StreamRawPredictRequest |
build() |
StreamRawPredictRequest |
buildPartial() |
StreamRawPredictRequest.Builder |
clear() |
StreamRawPredictRequest.Builder |
clearEndpoint()
Required.
|
StreamRawPredictRequest.Builder |
clearHttpBody()
The prediction input.
|
StreamRawPredictRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEndpoint()
Required.
|
com.google.protobuf.ByteString |
getEndpointBytes()
Required.
|
com.google.api.HttpBody |
getHttpBody()
The prediction input.
|
com.google.api.HttpBody.Builder |
getHttpBodyBuilder()
The prediction input.
|
com.google.api.HttpBodyOrBuilder |
getHttpBodyOrBuilder()
The prediction input.
|
boolean |
hasHttpBody()
The prediction input.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
StreamRawPredictRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StreamRawPredictRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
StreamRawPredictRequest.Builder |
mergeFrom(StreamRawPredictRequest other) |
StreamRawPredictRequest.Builder |
mergeHttpBody(com.google.api.HttpBody value)
The prediction input.
|
StreamRawPredictRequest.Builder |
setEndpoint(String value)
Required.
|
StreamRawPredictRequest.Builder |
setEndpointBytes(com.google.protobuf.ByteString value)
Required.
|
StreamRawPredictRequest.Builder |
setHttpBody(com.google.api.HttpBody.Builder builderForValue)
The prediction input.
|
StreamRawPredictRequest.Builder |
setHttpBody(com.google.api.HttpBody value)
The prediction input.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<StreamRawPredictRequest.Builder>public StreamRawPredictRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<StreamRawPredictRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<StreamRawPredictRequest.Builder>public StreamRawPredictRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic StreamRawPredictRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic StreamRawPredictRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic StreamRawPredictRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamRawPredictRequest.Builder>public StreamRawPredictRequest.Builder mergeFrom(StreamRawPredictRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<StreamRawPredictRequest.Builder>public StreamRawPredictRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamRawPredictRequest.Builder>IOExceptionpublic 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) = { ... }
getEndpoint in interface StreamRawPredictRequestOrBuilderpublic 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) = { ... }
getEndpointBytes in interface StreamRawPredictRequestOrBuilderpublic StreamRawPredictRequest.Builder setEndpoint(String value)
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) = { ... }
value - The endpoint to set.public StreamRawPredictRequest.Builder clearEndpoint()
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) = { ... }
public StreamRawPredictRequest.Builder setEndpointBytes(com.google.protobuf.ByteString value)
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) = { ... }
value - The bytes for endpoint to set.public boolean hasHttpBody()
The prediction input. Supports HTTP headers and arbitrary data payload.
.google.api.HttpBody http_body = 2;hasHttpBody in interface StreamRawPredictRequestOrBuilderpublic com.google.api.HttpBody getHttpBody()
The prediction input. Supports HTTP headers and arbitrary data payload.
.google.api.HttpBody http_body = 2;getHttpBody in interface StreamRawPredictRequestOrBuilderpublic StreamRawPredictRequest.Builder setHttpBody(com.google.api.HttpBody value)
The prediction input. Supports HTTP headers and arbitrary data payload.
.google.api.HttpBody http_body = 2;public StreamRawPredictRequest.Builder setHttpBody(com.google.api.HttpBody.Builder builderForValue)
The prediction input. Supports HTTP headers and arbitrary data payload.
.google.api.HttpBody http_body = 2;public StreamRawPredictRequest.Builder mergeHttpBody(com.google.api.HttpBody value)
The prediction input. Supports HTTP headers and arbitrary data payload.
.google.api.HttpBody http_body = 2;public StreamRawPredictRequest.Builder clearHttpBody()
The prediction input. Supports HTTP headers and arbitrary data payload.
.google.api.HttpBody http_body = 2;public com.google.api.HttpBody.Builder getHttpBodyBuilder()
The prediction input. Supports HTTP headers and arbitrary data payload.
.google.api.HttpBody http_body = 2;public com.google.api.HttpBodyOrBuilder getHttpBodyOrBuilder()
The prediction input. Supports HTTP headers and arbitrary data payload.
.google.api.HttpBody http_body = 2;getHttpBodyOrBuilder in interface StreamRawPredictRequestOrBuilderCopyright © 2026 Google LLC. All rights reserved.