Class ModelEvaluationSlice.Slice.SliceSpec.Range.Builder (3.50.0)

public static final class ModelEvaluationSlice.Slice.SliceSpec.Range.Builder extends GeneratedMessageV3.Builder<ModelEvaluationSlice.Slice.SliceSpec.Range.Builder> implements ModelEvaluationSlice.Slice.SliceSpec.RangeOrBuilder

A range of values for slice(s). low is inclusive, high is exclusive.

Protobuf type google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.Slice.SliceSpec.Range

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ModelEvaluationSlice.Slice.SliceSpec.Range.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Range.Builder
Overrides

build()

public ModelEvaluationSlice.Slice.SliceSpec.Range build()
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Range

buildPartial()

public ModelEvaluationSlice.Slice.SliceSpec.Range buildPartial()
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Range

clear()

public ModelEvaluationSlice.Slice.SliceSpec.Range.Builder clear()
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Range.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ModelEvaluationSlice.Slice.SliceSpec.Range.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Range.Builder
Overrides

clearHigh()

public ModelEvaluationSlice.Slice.SliceSpec.Range.Builder clearHigh()

Exclusive high value for the range.

float high = 2;

Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Range.Builder

This builder for chaining.

clearLow()

public ModelEvaluationSlice.Slice.SliceSpec.Range.Builder clearLow()

Inclusive low value for the range.

float low = 1;

Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Range.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ModelEvaluationSlice.Slice.SliceSpec.Range.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Range.Builder
Overrides

clone()

public ModelEvaluationSlice.Slice.SliceSpec.Range.Builder clone()
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Range.Builder
Overrides

getDefaultInstanceForType()

public ModelEvaluationSlice.Slice.SliceSpec.Range getDefaultInstanceForType()
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Range

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHigh()

public float getHigh()

Exclusive high value for the range.

float high = 2;

Returns
Type Description
float

The high.

getLow()

public float getLow()

Inclusive low value for the range.

float low = 1;

Returns
Type Description
float

The low.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ModelEvaluationSlice.Slice.SliceSpec.Range other)

public ModelEvaluationSlice.Slice.SliceSpec.Range.Builder mergeFrom(ModelEvaluationSlice.Slice.SliceSpec.Range other)
Parameter
Name Description
other ModelEvaluationSlice.Slice.SliceSpec.Range
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Range.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ModelEvaluationSlice.Slice.SliceSpec.Range.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Range.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ModelEvaluationSlice.Slice.SliceSpec.Range.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Range.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelEvaluationSlice.Slice.SliceSpec.Range.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Range.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ModelEvaluationSlice.Slice.SliceSpec.Range.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Range.Builder
Overrides

setHigh(float value)

public ModelEvaluationSlice.Slice.SliceSpec.Range.Builder setHigh(float value)

Exclusive high value for the range.

float high = 2;

Parameter
Name Description
value float

The high to set.

Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Range.Builder

This builder for chaining.

setLow(float value)

public ModelEvaluationSlice.Slice.SliceSpec.Range.Builder setLow(float value)

Inclusive low value for the range.

float low = 1;

Parameter
Name Description
value float

The low to set.

Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Range.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ModelEvaluationSlice.Slice.SliceSpec.Range.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Range.Builder
Overrides