Class ModelEvaluationSlice.Slice.SliceSpec.Value.Builder (3.55.0)

See more code actions.
public static final class ModelEvaluationSlice.Slice.SliceSpec.Value.Builder extends GeneratedMessageV3.Builder<ModelEvaluationSlice.Slice.SliceSpec.Value.Builder> implements ModelEvaluationSlice.Slice.SliceSpec.ValueOrBuilder

Single value that supports strings and floats.

Protobuf type google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.Value

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ModelEvaluationSlice.Slice.SliceSpec.Value build()

buildPartial()

public ModelEvaluationSlice.Slice.SliceSpec.Value buildPartial()

clear()

public ModelEvaluationSlice.Slice.SliceSpec.Value.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearFloatValue()

public ModelEvaluationSlice.Slice.SliceSpec.Value.Builder clearFloatValue()

Float type.

float float_value = 2;

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

This builder for chaining.

clearKind()

public ModelEvaluationSlice.Slice.SliceSpec.Value.Builder clearKind()

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStringValue()

public ModelEvaluationSlice.Slice.SliceSpec.Value.Builder clearStringValue()

String type.

string string_value = 1;

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

This builder for chaining.

clone()

public ModelEvaluationSlice.Slice.SliceSpec.Value.Builder clone()
Overrides

getDefaultInstanceForType()

public ModelEvaluationSlice.Slice.SliceSpec.Value getDefaultInstanceForType()

getDescriptorForType()

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

getFloatValue()

public float getFloatValue()

Float type.

float float_value = 2;

Returns
Type Description
float

The floatValue.

getKindCase()

public ModelEvaluationSlice.Slice.SliceSpec.Value.KindCase getKindCase()

getStringValue()

public String getStringValue()

String type.

string string_value = 1;

Returns
Type Description
String

The stringValue.

getStringValueBytes()

public ByteString getStringValueBytes()

String type.

string string_value = 1;

Returns
Type Description
ByteString

The bytes for stringValue.

hasFloatValue()

public boolean hasFloatValue()

Float type.

float float_value = 2;

Returns
Type Description
boolean

Whether the floatValue field is set.

hasStringValue()

public boolean hasStringValue()

String type.

string string_value = 1;

Returns
Type Description
boolean

Whether the stringValue field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ModelEvaluationSlice.Slice.SliceSpec.Value other)

public ModelEvaluationSlice.Slice.SliceSpec.Value.Builder mergeFrom(ModelEvaluationSlice.Slice.SliceSpec.Value other)
Parameter
Name Description
other ModelEvaluationSlice.Slice.SliceSpec.Value

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ModelEvaluationSlice.Slice.SliceSpec.Value.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFloatValue(float value)

public ModelEvaluationSlice.Slice.SliceSpec.Value.Builder setFloatValue(float value)

Float type.

float float_value = 2;

Parameter
Name Description
value float

The floatValue to set.

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

This builder for chaining.

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

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

setStringValue(String value)

public ModelEvaluationSlice.Slice.SliceSpec.Value.Builder setStringValue(String value)

String type.

string string_value = 1;

Parameter
Name Description
value String

The stringValue to set.

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

This builder for chaining.

setStringValueBytes(ByteString value)

public ModelEvaluationSlice.Slice.SliceSpec.Value.Builder setStringValueBytes(ByteString value)

String type.

string string_value = 1;

Parameter
Name Description
value ByteString

The bytes for stringValue to set.

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

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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