Class StreamDirectRawPredictResponse (1.5.0)

public final class StreamDirectRawPredictResponse extends GeneratedMessageV3 implements StreamDirectRawPredictResponseOrBuilder

Response message for PredictionService.StreamDirectRawPredict.

Protobuf type google.cloud.vertexai.v1.StreamDirectRawPredictResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > StreamDirectRawPredictResponse

Static Fields

OUTPUT_FIELD_NUMBER

public static final int OUTPUT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StreamDirectRawPredictResponse getDefaultInstance()
Returns
Type Description
StreamDirectRawPredictResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static StreamDirectRawPredictResponse.Builder newBuilder()
Returns
Type Description
StreamDirectRawPredictResponse.Builder

newBuilder(StreamDirectRawPredictResponse prototype)

public static StreamDirectRawPredictResponse.Builder newBuilder(StreamDirectRawPredictResponse prototype)
Parameter
Name Description
prototype StreamDirectRawPredictResponse
Returns
Type Description
StreamDirectRawPredictResponse.Builder

parseDelimitedFrom(InputStream input)

public static StreamDirectRawPredictResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StreamDirectRawPredictResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamDirectRawPredictResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamDirectRawPredictResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StreamDirectRawPredictResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StreamDirectRawPredictResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StreamDirectRawPredictResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamDirectRawPredictResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StreamDirectRawPredictResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StreamDirectRawPredictResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StreamDirectRawPredictResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamDirectRawPredictResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StreamDirectRawPredictResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StreamDirectRawPredictResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamDirectRawPredictResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamDirectRawPredictResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StreamDirectRawPredictResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StreamDirectRawPredictResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamDirectRawPredictResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamDirectRawPredictResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StreamDirectRawPredictResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StreamDirectRawPredictResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StreamDirectRawPredictResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamDirectRawPredictResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StreamDirectRawPredictResponse> parser()
Returns
Type Description
Parser<StreamDirectRawPredictResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public StreamDirectRawPredictResponse getDefaultInstanceForType()
Returns
Type Description
StreamDirectRawPredictResponse

getOutput()

public ByteString getOutput()

The prediction output.

bytes output = 1;

Returns
Type Description
ByteString

The output.

getParserForType()

public Parser<StreamDirectRawPredictResponse> getParserForType()
Returns
Type Description
Parser<StreamDirectRawPredictResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StreamDirectRawPredictResponse.Builder newBuilderForType()
Returns
Type Description
StreamDirectRawPredictResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StreamDirectRawPredictResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StreamDirectRawPredictResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public StreamDirectRawPredictResponse.Builder toBuilder()
Returns
Type Description
StreamDirectRawPredictResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException