Class TabularRegressionPredictionResult.Builder (3.11.0)

public static final class TabularRegressionPredictionResult.Builder extends GeneratedMessageV3.Builder<TabularRegressionPredictionResult.Builder> implements TabularRegressionPredictionResultOrBuilder

Prediction output format for Tabular Regression.

Protobuf type google.cloud.aiplatform.v1.schema.predict.prediction.TabularRegressionPredictionResult

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TabularRegressionPredictionResult build()
Returns
TypeDescription
TabularRegressionPredictionResult

buildPartial()

public TabularRegressionPredictionResult buildPartial()
Returns
TypeDescription
TabularRegressionPredictionResult

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLowerBound()

public TabularRegressionPredictionResult.Builder clearLowerBound()

The lower bound of the prediction interval.

float lower_bound = 2;

Returns
TypeDescription
TabularRegressionPredictionResult.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpperBound()

public TabularRegressionPredictionResult.Builder clearUpperBound()

The upper bound of the prediction interval.

float upper_bound = 3;

Returns
TypeDescription
TabularRegressionPredictionResult.Builder

This builder for chaining.

clearValue()

public TabularRegressionPredictionResult.Builder clearValue()

The regression value.

float value = 1;

Returns
TypeDescription
TabularRegressionPredictionResult.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public TabularRegressionPredictionResult getDefaultInstanceForType()
Returns
TypeDescription
TabularRegressionPredictionResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLowerBound()

public float getLowerBound()

The lower bound of the prediction interval.

float lower_bound = 2;

Returns
TypeDescription
float

The lowerBound.

getUpperBound()

public float getUpperBound()

The upper bound of the prediction interval.

float upper_bound = 3;

Returns
TypeDescription
float

The upperBound.

getValue()

public float getValue()

The regression value.

float value = 1;

Returns
TypeDescription
float

The value.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TabularRegressionPredictionResult other)

public TabularRegressionPredictionResult.Builder mergeFrom(TabularRegressionPredictionResult other)
Parameter
NameDescription
otherTabularRegressionPredictionResult
Returns
TypeDescription
TabularRegressionPredictionResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setLowerBound(float value)

public TabularRegressionPredictionResult.Builder setLowerBound(float value)

The lower bound of the prediction interval.

float lower_bound = 2;

Parameter
NameDescription
valuefloat

The lowerBound to set.

Returns
TypeDescription
TabularRegressionPredictionResult.Builder

This builder for chaining.

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

public TabularRegressionPredictionResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TabularRegressionPredictionResult.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpperBound(float value)

public TabularRegressionPredictionResult.Builder setUpperBound(float value)

The upper bound of the prediction interval.

float upper_bound = 3;

Parameter
NameDescription
valuefloat

The upperBound to set.

Returns
TypeDescription
TabularRegressionPredictionResult.Builder

This builder for chaining.

setValue(float value)

public TabularRegressionPredictionResult.Builder setValue(float value)

The regression value.

float value = 1;

Parameter
NameDescription
valuefloat

The value to set.

Returns
TypeDescription
TabularRegressionPredictionResult.Builder

This builder for chaining.