Class StreamDirectRawPredictResponse.Builder (3.41.0)

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

Response message for PredictionService.StreamDirectRawPredict.

Protobuf type google.cloud.aiplatform.v1.StreamDirectRawPredictResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StreamDirectRawPredictResponse build()
Returns
TypeDescription
StreamDirectRawPredictResponse

buildPartial()

public StreamDirectRawPredictResponse buildPartial()
Returns
TypeDescription
StreamDirectRawPredictResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOutput()

public StreamDirectRawPredictResponse.Builder clearOutput()

The prediction output.

bytes output = 1;

Returns
TypeDescription
StreamDirectRawPredictResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public StreamDirectRawPredictResponse getDefaultInstanceForType()
Returns
TypeDescription
StreamDirectRawPredictResponse

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

public StreamDirectRawPredictResponse.Builder mergeFrom(StreamDirectRawPredictResponse other)
Parameter
NameDescription
otherStreamDirectRawPredictResponse
Returns
TypeDescription
StreamDirectRawPredictResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setOutput(ByteString value)

public StreamDirectRawPredictResponse.Builder setOutput(ByteString value)

The prediction output.

bytes output = 1;

Parameter
NameDescription
valueByteString

The output to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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