Class DirectRawPredictResponse.Builder (3.52.0)

public static final class DirectRawPredictResponse.Builder extends GeneratedMessageV3.Builder<DirectRawPredictResponse.Builder> implements DirectRawPredictResponseOrBuilder

Response message for PredictionService.DirectRawPredict.

Protobuf type google.cloud.aiplatform.v1beta1.DirectRawPredictResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DirectRawPredictResponse build()
Returns
Type Description
DirectRawPredictResponse

buildPartial()

public DirectRawPredictResponse buildPartial()
Returns
Type Description
DirectRawPredictResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOutput()

public DirectRawPredictResponse.Builder clearOutput()

The prediction output.

bytes output = 1;

Returns
Type Description
DirectRawPredictResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public DirectRawPredictResponse getDefaultInstanceForType()
Returns
Type Description
DirectRawPredictResponse

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setOutput(ByteString value)

public DirectRawPredictResponse.Builder setOutput(ByteString value)

The prediction output.

bytes output = 1;

Parameter
Name Description
value ByteString

The output to set.

Returns
Type Description
DirectRawPredictResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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