Class ModelEvaluationSlice.Slice.SliceSpec.Range.Builder (3.28.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ModelEvaluationSlice.Slice.SliceSpec.Range.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Range.Builder
Overrides

build()

public ModelEvaluationSlice.Slice.SliceSpec.Range build()
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Range

buildPartial()

public ModelEvaluationSlice.Slice.SliceSpec.Range buildPartial()
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Range

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ModelEvaluationSlice.Slice.SliceSpec.Range.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Range.Builder
Overrides

clearHigh()

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

Exclusive high value for the range.

float high = 2;

Returns
TypeDescription
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
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Range.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ModelEvaluationSlice.Slice.SliceSpec.Range.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Range.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public ModelEvaluationSlice.Slice.SliceSpec.Range getDefaultInstanceForType()
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Range

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHigh()

public float getHigh()

Exclusive high value for the range.

float high = 2;

Returns
TypeDescription
float

The high.

getLow()

public float getLow()

Inclusive low value for the range.

float low = 1;

Returns
TypeDescription
float

The low.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ModelEvaluationSlice.Slice.SliceSpec.Range other)

public ModelEvaluationSlice.Slice.SliceSpec.Range.Builder mergeFrom(ModelEvaluationSlice.Slice.SliceSpec.Range other)
Parameter
NameDescription
otherModelEvaluationSlice.Slice.SliceSpec.Range
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Range.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ModelEvaluationSlice.Slice.SliceSpec.Range.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Range.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelEvaluationSlice.Slice.SliceSpec.Range.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuefloat

The high to set.

Returns
TypeDescription
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
NameDescription
valuefloat

The low to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Range.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ModelEvaluationSlice.Slice.SliceSpec.Range.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Range.Builder
Overrides