Class StreamingRawPredictResponse.Builder (3.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StreamingRawPredictResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StreamingRawPredictResponse.Builder
Overrides

build()

public StreamingRawPredictResponse build()
Returns
TypeDescription
StreamingRawPredictResponse

buildPartial()

public StreamingRawPredictResponse buildPartial()
Returns
TypeDescription
StreamingRawPredictResponse

clear()

public StreamingRawPredictResponse.Builder clear()
Returns
TypeDescription
StreamingRawPredictResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public StreamingRawPredictResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
StreamingRawPredictResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public StreamingRawPredictResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
StreamingRawPredictResponse.Builder
Overrides

clearOutput()

public StreamingRawPredictResponse.Builder clearOutput()

The prediction output.

bytes output = 1;

Returns
TypeDescription
StreamingRawPredictResponse.Builder

This builder for chaining.

clone()

public StreamingRawPredictResponse.Builder clone()
Returns
TypeDescription
StreamingRawPredictResponse.Builder
Overrides

getDefaultInstanceForType()

public StreamingRawPredictResponse getDefaultInstanceForType()
Returns
TypeDescription
StreamingRawPredictResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOutput()

public ByteString getOutput()

The prediction output.

bytes output = 1;

Returns
TypeDescription
ByteString

The output.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StreamingRawPredictResponse other)

public StreamingRawPredictResponse.Builder mergeFrom(StreamingRawPredictResponse other)
Parameter
NameDescription
otherStreamingRawPredictResponse
Returns
TypeDescription
StreamingRawPredictResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StreamingRawPredictResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingRawPredictResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public StreamingRawPredictResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
StreamingRawPredictResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StreamingRawPredictResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StreamingRawPredictResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public StreamingRawPredictResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StreamingRawPredictResponse.Builder
Overrides

setOutput(ByteString value)

public StreamingRawPredictResponse.Builder setOutput(ByteString value)

The prediction output.

bytes output = 1;

Parameter
NameDescription
valueByteString

The output to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StreamingRawPredictResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StreamingRawPredictResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StreamingRawPredictResponse.Builder
Overrides