Class StreamingRawPredictResponse.Builder (3.50.0)

public static final class StreamingRawPredictResponse.Builder extends GeneratedMessageV3.Builder<StreamingRawPredictResponse.Builder> implements StreamingRawPredictResponseOrBuilder

Response message for PredictionService.StreamingRawPredict.

Protobuf type google.cloud.aiplatform.v1.StreamingRawPredictResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StreamingRawPredictResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StreamingRawPredictResponse.Builder
Overrides

build()

public StreamingRawPredictResponse build()
Returns
Type Description
StreamingRawPredictResponse

buildPartial()

public StreamingRawPredictResponse buildPartial()
Returns
Type Description
StreamingRawPredictResponse

clear()

public StreamingRawPredictResponse.Builder clear()
Returns
Type Description
StreamingRawPredictResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public StreamingRawPredictResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
StreamingRawPredictResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public StreamingRawPredictResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StreamingRawPredictResponse.Builder
Overrides

clearOutput()

public StreamingRawPredictResponse.Builder clearOutput()

The prediction output.

bytes output = 1;

Returns
Type Description
StreamingRawPredictResponse.Builder

This builder for chaining.

clone()

public StreamingRawPredictResponse.Builder clone()
Returns
Type Description
StreamingRawPredictResponse.Builder
Overrides

getDefaultInstanceForType()

public StreamingRawPredictResponse getDefaultInstanceForType()
Returns
Type Description
StreamingRawPredictResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOutput()

public ByteString getOutput()

The prediction output.

bytes output = 1;

Returns
Type Description
ByteString

The output.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StreamingRawPredictResponse other)

public StreamingRawPredictResponse.Builder mergeFrom(StreamingRawPredictResponse other)
Parameter
Name Description
other StreamingRawPredictResponse
Returns
Type Description
StreamingRawPredictResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StreamingRawPredictResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingRawPredictResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StreamingRawPredictResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StreamingRawPredictResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StreamingRawPredictResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StreamingRawPredictResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public StreamingRawPredictResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StreamingRawPredictResponse.Builder
Overrides

setOutput(ByteString value)

public StreamingRawPredictResponse.Builder setOutput(ByteString value)

The prediction output.

bytes output = 1;

Parameter
Name Description
value ByteString

The output to set.

Returns
Type Description
StreamingRawPredictResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StreamingRawPredictResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StreamingRawPredictResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StreamingRawPredictResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StreamingRawPredictResponse.Builder
Overrides