Class StreamDirectRawPredictResponse (3.40.0)

public final class StreamDirectRawPredictResponse extends GeneratedMessageV3 implements StreamDirectRawPredictResponseOrBuilder

Response message for PredictionService.StreamDirectRawPredict.

Protobuf type google.cloud.aiplatform.v1beta1.StreamDirectRawPredictResponse

Inheritance

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

Static Fields

OUTPUT_FIELD_NUMBER

public static final int OUTPUT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StreamDirectRawPredictResponse getDefaultInstance()
Returns
TypeDescription
StreamDirectRawPredictResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static StreamDirectRawPredictResponse.Builder newBuilder()
Returns
TypeDescription
StreamDirectRawPredictResponse.Builder

newBuilder(StreamDirectRawPredictResponse prototype)

public static StreamDirectRawPredictResponse.Builder newBuilder(StreamDirectRawPredictResponse prototype)
Parameter
NameDescription
prototypeStreamDirectRawPredictResponse
Returns
TypeDescription
StreamDirectRawPredictResponse.Builder

parseDelimitedFrom(InputStream input)

public static StreamDirectRawPredictResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StreamDirectRawPredictResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamDirectRawPredictResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamDirectRawPredictResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StreamDirectRawPredictResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StreamDirectRawPredictResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StreamDirectRawPredictResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamDirectRawPredictResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StreamDirectRawPredictResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StreamDirectRawPredictResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StreamDirectRawPredictResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamDirectRawPredictResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StreamDirectRawPredictResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StreamDirectRawPredictResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamDirectRawPredictResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamDirectRawPredictResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StreamDirectRawPredictResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StreamDirectRawPredictResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamDirectRawPredictResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamDirectRawPredictResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StreamDirectRawPredictResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StreamDirectRawPredictResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StreamDirectRawPredictResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamDirectRawPredictResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<StreamDirectRawPredictResponse> parser()
Returns
TypeDescription
Parser<StreamDirectRawPredictResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public StreamDirectRawPredictResponse getDefaultInstanceForType()
Returns
TypeDescription
StreamDirectRawPredictResponse

getOutput()

public ByteString getOutput()

The prediction output.

bytes output = 1;

Returns
TypeDescription
ByteString

The output.

getParserForType()

public Parser<StreamDirectRawPredictResponse> getParserForType()
Returns
TypeDescription
Parser<StreamDirectRawPredictResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public StreamDirectRawPredictResponse.Builder newBuilderForType()
Returns
TypeDescription
StreamDirectRawPredictResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StreamDirectRawPredictResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StreamDirectRawPredictResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public StreamDirectRawPredictResponse.Builder toBuilder()
Returns
TypeDescription
StreamDirectRawPredictResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException