Class StreamDirectRawPredictResponse.Builder (3.56.0)

public static final class StreamDirectRawPredictResponse.Builder extends GeneratedMessageV3.Builder<StreamDirectRawPredictResponse.Builder> implements StreamDirectRawPredictResponseOrBuilder

Response message for PredictionService.StreamDirectRawPredict.

Protobuf type google.cloud.aiplatform.v1beta1.StreamDirectRawPredictResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StreamDirectRawPredictResponse build()
Returns
Type Description
StreamDirectRawPredictResponse

buildPartial()

public StreamDirectRawPredictResponse buildPartial()
Returns
Type Description
StreamDirectRawPredictResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOutput()

public StreamDirectRawPredictResponse.Builder clearOutput()

The prediction output.

bytes output = 1;

Returns
Type Description
StreamDirectRawPredictResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public StreamDirectRawPredictResponse getDefaultInstanceForType()
Returns
Type Description
StreamDirectRawPredictResponse

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(StreamDirectRawPredictResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setOutput(ByteString value)

public StreamDirectRawPredictResponse.Builder setOutput(ByteString value)

The prediction output.

bytes output = 1;

Parameter
Name Description
value ByteString

The output to set.

Returns
Type Description
StreamDirectRawPredictResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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