public static final class StreamRawPredictRequest.Builder extends com.google.protobuf.GeneratedMessageV3.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.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StreamRawPredictRequest |
build() |
StreamRawPredictRequest |
buildPartial() |
StreamRawPredictRequest.Builder |
clear() |
StreamRawPredictRequest.Builder |
clearEndpoint()
Required.
|
StreamRawPredictRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StreamRawPredictRequest.Builder |
clearHttpBody()
The prediction input.
|
StreamRawPredictRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StreamRawPredictRequest.Builder |
clone() |
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.GeneratedMessageV3.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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StreamRawPredictRequest.Builder |
setEndpoint(String value)
Required.
|
StreamRawPredictRequest.Builder |
setEndpointBytes(com.google.protobuf.ByteString value)
Required.
|
StreamRawPredictRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StreamRawPredictRequest.Builder |
setHttpBody(com.google.api.HttpBody.Builder builderForValue)
The prediction input.
|
StreamRawPredictRequest.Builder |
setHttpBody(com.google.api.HttpBody value)
The prediction input.
|
StreamRawPredictRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
StreamRawPredictRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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 clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<StreamRawPredictRequest.Builder>public StreamRawPredictRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamRawPredictRequest.Builder>public StreamRawPredictRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamRawPredictRequest.Builder>public StreamRawPredictRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StreamRawPredictRequest.Builder>public StreamRawPredictRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamRawPredictRequest.Builder>public StreamRawPredictRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamRawPredictRequest.Builder>public 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.GeneratedMessageV3.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 StreamRawPredictRequestOrBuilderpublic final StreamRawPredictRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamRawPredictRequest.Builder>public final StreamRawPredictRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamRawPredictRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.