public static final class StreamingRawPredictRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<StreamingRawPredictRequest.Builder> implements StreamingRawPredictRequestOrBuilder
Request message for [PredictionService.StreamingRawPredict][google.cloud.aiplatform.v1.PredictionService.StreamingRawPredict]. The first message must contain [endpoint][google.cloud.aiplatform.v1.StreamingRawPredictRequest.endpoint] and [method_name][google.cloud.aiplatform.v1.StreamingRawPredictRequest.method_name] fields and optionally [input][google.cloud.aiplatform.v1.StreamingRawPredictRequest.input]. The subsequent messages must contain [input][google.cloud.aiplatform.v1.StreamingRawPredictRequest.input]. [method_name][google.cloud.aiplatform.v1.StreamingRawPredictRequest.method_name] in the subsequent messages have no effect.Protobuf type
google.cloud.aiplatform.v1.StreamingRawPredictRequest| Modifier and Type | Method and Description |
|---|---|
StreamingRawPredictRequest |
build() |
StreamingRawPredictRequest |
buildPartial() |
StreamingRawPredictRequest.Builder |
clear() |
StreamingRawPredictRequest.Builder |
clearEndpoint()
Required.
|
StreamingRawPredictRequest.Builder |
clearInput()
The prediction input.
|
StreamingRawPredictRequest.Builder |
clearMethodName()
Fully qualified name of the API method being invoked to perform
predictions.
|
StreamingRawPredictRequest |
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.protobuf.ByteString |
getInput()
The prediction input.
|
String |
getMethodName()
Fully qualified name of the API method being invoked to perform
predictions.
|
com.google.protobuf.ByteString |
getMethodNameBytes()
Fully qualified name of the API method being invoked to perform
predictions.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
StreamingRawPredictRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StreamingRawPredictRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
StreamingRawPredictRequest.Builder |
mergeFrom(StreamingRawPredictRequest other) |
StreamingRawPredictRequest.Builder |
setEndpoint(String value)
Required.
|
StreamingRawPredictRequest.Builder |
setEndpointBytes(com.google.protobuf.ByteString value)
Required.
|
StreamingRawPredictRequest.Builder |
setInput(com.google.protobuf.ByteString value)
The prediction input.
|
StreamingRawPredictRequest.Builder |
setMethodName(String value)
Fully qualified name of the API method being invoked to perform
predictions.
|
StreamingRawPredictRequest.Builder |
setMethodNameBytes(com.google.protobuf.ByteString value)
Fully qualified name of the API method being invoked to perform
predictions.
|
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<StreamingRawPredictRequest.Builder>public StreamingRawPredictRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<StreamingRawPredictRequest.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<StreamingRawPredictRequest.Builder>public StreamingRawPredictRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic StreamingRawPredictRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic StreamingRawPredictRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic StreamingRawPredictRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamingRawPredictRequest.Builder>public StreamingRawPredictRequest.Builder mergeFrom(StreamingRawPredictRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<StreamingRawPredictRequest.Builder>public StreamingRawPredictRequest.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<StreamingRawPredictRequest.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 StreamingRawPredictRequestOrBuilderpublic 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 StreamingRawPredictRequestOrBuilderpublic StreamingRawPredictRequest.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 StreamingRawPredictRequest.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 StreamingRawPredictRequest.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 String getMethodName()
Fully qualified name of the API method being invoked to perform predictions. Format: `/namespace.Service/Method/` Example: `/tensorflow.serving.PredictionService/Predict`
string method_name = 2;getMethodName in interface StreamingRawPredictRequestOrBuilderpublic com.google.protobuf.ByteString getMethodNameBytes()
Fully qualified name of the API method being invoked to perform predictions. Format: `/namespace.Service/Method/` Example: `/tensorflow.serving.PredictionService/Predict`
string method_name = 2;getMethodNameBytes in interface StreamingRawPredictRequestOrBuilderpublic StreamingRawPredictRequest.Builder setMethodName(String value)
Fully qualified name of the API method being invoked to perform predictions. Format: `/namespace.Service/Method/` Example: `/tensorflow.serving.PredictionService/Predict`
string method_name = 2;value - The methodName to set.public StreamingRawPredictRequest.Builder clearMethodName()
Fully qualified name of the API method being invoked to perform predictions. Format: `/namespace.Service/Method/` Example: `/tensorflow.serving.PredictionService/Predict`
string method_name = 2;public StreamingRawPredictRequest.Builder setMethodNameBytes(com.google.protobuf.ByteString value)
Fully qualified name of the API method being invoked to perform predictions. Format: `/namespace.Service/Method/` Example: `/tensorflow.serving.PredictionService/Predict`
string method_name = 2;value - The bytes for methodName to set.public com.google.protobuf.ByteString getInput()
The prediction input.
bytes input = 3;getInput in interface StreamingRawPredictRequestOrBuilderpublic StreamingRawPredictRequest.Builder setInput(com.google.protobuf.ByteString value)
The prediction input.
bytes input = 3;value - The input to set.public StreamingRawPredictRequest.Builder clearInput()
The prediction input.
bytes input = 3;Copyright © 2026 Google LLC. All rights reserved.