Class DirectRawPredictResponse.Builder (3.40.0)

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

Response message for PredictionService.DirectRawPredict.

Protobuf type google.cloud.aiplatform.v1.DirectRawPredictResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DirectRawPredictResponse build()
Returns
TypeDescription
DirectRawPredictResponse

buildPartial()

public DirectRawPredictResponse buildPartial()
Returns
TypeDescription
DirectRawPredictResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOutput()

public DirectRawPredictResponse.Builder clearOutput()

The prediction output.

bytes output = 1;

Returns
TypeDescription
DirectRawPredictResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public DirectRawPredictResponse getDefaultInstanceForType()
Returns
TypeDescription
DirectRawPredictResponse

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

public DirectRawPredictResponse.Builder mergeFrom(DirectRawPredictResponse other)
Parameter
NameDescription
otherDirectRawPredictResponse
Returns
TypeDescription
DirectRawPredictResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setOutput(ByteString value)

public DirectRawPredictResponse.Builder setOutput(ByteString value)

The prediction output.

bytes output = 1;

Parameter
NameDescription
valueByteString

The output to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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