public final class StreamDirectPredictRequest extends com.google.protobuf.GeneratedMessageV3 implements StreamDirectPredictRequestOrBuilder
Request message for [PredictionService.StreamDirectPredict][google.cloud.aiplatform.v1.PredictionService.StreamDirectPredict]. The first message must contain [endpoint][google.cloud.aiplatform.v1.StreamDirectPredictRequest.endpoint] field and optionally [input][]. The subsequent messages must contain [input][].Protobuf type
google.cloud.vertexai.v1.StreamDirectPredictRequest| Modifier and Type | Class and Description |
|---|---|
static class |
StreamDirectPredictRequest.Builder
Request message for
[PredictionService.StreamDirectPredict][google.cloud.aiplatform.v1.PredictionService.StreamDirectPredict].
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ENDPOINT_FIELD_NUMBER |
static int |
INPUTS_FIELD_NUMBER |
static int |
PARAMETERS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static StreamDirectPredictRequest |
getDefaultInstance() |
StreamDirectPredictRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getEndpoint()
Required.
|
com.google.protobuf.ByteString |
getEndpointBytes()
Required.
|
Tensor |
getInputs(int index)
Optional.
|
int |
getInputsCount()
Optional.
|
List<Tensor> |
getInputsList()
Optional.
|
TensorOrBuilder |
getInputsOrBuilder(int index)
Optional.
|
List<? extends TensorOrBuilder> |
getInputsOrBuilderList()
Optional.
|
Tensor |
getParameters()
Optional.
|
TensorOrBuilder |
getParametersOrBuilder()
Optional.
|
com.google.protobuf.Parser<StreamDirectPredictRequest> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
boolean |
hasParameters()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static StreamDirectPredictRequest.Builder |
newBuilder() |
static StreamDirectPredictRequest.Builder |
newBuilder(StreamDirectPredictRequest prototype) |
StreamDirectPredictRequest.Builder |
newBuilderForType() |
protected StreamDirectPredictRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static StreamDirectPredictRequest |
parseDelimitedFrom(InputStream input) |
static StreamDirectPredictRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamDirectPredictRequest |
parseFrom(byte[] data) |
static StreamDirectPredictRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamDirectPredictRequest |
parseFrom(ByteBuffer data) |
static StreamDirectPredictRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamDirectPredictRequest |
parseFrom(com.google.protobuf.ByteString data) |
static StreamDirectPredictRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamDirectPredictRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static StreamDirectPredictRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamDirectPredictRequest |
parseFrom(InputStream input) |
static StreamDirectPredictRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<StreamDirectPredictRequest> |
parser() |
StreamDirectPredictRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ENDPOINT_FIELD_NUMBER
public static final int INPUTS_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 StreamDirectPredictRequestOrBuilderpublic 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 StreamDirectPredictRequestOrBuilderpublic List<Tensor> getInputsList()
Optional. The prediction input.
repeated .google.cloud.vertexai.v1.Tensor inputs = 2 [(.google.api.field_behavior) = OPTIONAL];
getInputsList in interface StreamDirectPredictRequestOrBuilderpublic List<? extends TensorOrBuilder> getInputsOrBuilderList()
Optional. The prediction input.
repeated .google.cloud.vertexai.v1.Tensor inputs = 2 [(.google.api.field_behavior) = OPTIONAL];
getInputsOrBuilderList in interface StreamDirectPredictRequestOrBuilderpublic int getInputsCount()
Optional. The prediction input.
repeated .google.cloud.vertexai.v1.Tensor inputs = 2 [(.google.api.field_behavior) = OPTIONAL];
getInputsCount in interface StreamDirectPredictRequestOrBuilderpublic Tensor getInputs(int index)
Optional. The prediction input.
repeated .google.cloud.vertexai.v1.Tensor inputs = 2 [(.google.api.field_behavior) = OPTIONAL];
getInputs in interface StreamDirectPredictRequestOrBuilderpublic TensorOrBuilder getInputsOrBuilder(int index)
Optional. The prediction input.
repeated .google.cloud.vertexai.v1.Tensor inputs = 2 [(.google.api.field_behavior) = OPTIONAL];
getInputsOrBuilder in interface StreamDirectPredictRequestOrBuilderpublic boolean hasParameters()
Optional. The parameters that govern the prediction.
.google.cloud.vertexai.v1.Tensor parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
hasParameters in interface StreamDirectPredictRequestOrBuilderpublic Tensor getParameters()
Optional. The parameters that govern the prediction.
.google.cloud.vertexai.v1.Tensor parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
getParameters in interface StreamDirectPredictRequestOrBuilderpublic TensorOrBuilder getParametersOrBuilder()
Optional. The parameters that govern the prediction.
.google.cloud.vertexai.v1.Tensor parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
getParametersOrBuilder in interface StreamDirectPredictRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static StreamDirectPredictRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamDirectPredictRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamDirectPredictRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamDirectPredictRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamDirectPredictRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamDirectPredictRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamDirectPredictRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static StreamDirectPredictRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static StreamDirectPredictRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static StreamDirectPredictRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static StreamDirectPredictRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static StreamDirectPredictRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic StreamDirectPredictRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static StreamDirectPredictRequest.Builder newBuilder()
public static StreamDirectPredictRequest.Builder newBuilder(StreamDirectPredictRequest prototype)
public StreamDirectPredictRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected StreamDirectPredictRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static StreamDirectPredictRequest getDefaultInstance()
public static com.google.protobuf.Parser<StreamDirectPredictRequest> parser()
public com.google.protobuf.Parser<StreamDirectPredictRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public StreamDirectPredictRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.