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.v1beta1.ModelEvaluationSlice.Slice.SliceSpec.Value
Inherited Members
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public ModelEvaluationSlice.Slice.SliceSpec.Value.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ModelEvaluationSlice.Slice.SliceSpec.Value build()
public ModelEvaluationSlice.Slice.SliceSpec.Value buildPartial()
public ModelEvaluationSlice.Slice.SliceSpec.Value.Builder clear()
Overrides
public ModelEvaluationSlice.Slice.SliceSpec.Value.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ModelEvaluationSlice.Slice.SliceSpec.Value.Builder clearFloatValue()
Float type.
float float_value = 2;
public ModelEvaluationSlice.Slice.SliceSpec.Value.Builder clearKind()
public ModelEvaluationSlice.Slice.SliceSpec.Value.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ModelEvaluationSlice.Slice.SliceSpec.Value.Builder clearStringValue()
String type.
string string_value = 1;
public ModelEvaluationSlice.Slice.SliceSpec.Value.Builder clone()
Overrides
public ModelEvaluationSlice.Slice.SliceSpec.Value getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public float getFloatValue()
Float type.
float float_value = 2;
Returns |
---|
Type | Description |
float | The floatValue.
|
public ModelEvaluationSlice.Slice.SliceSpec.Value.KindCase getKindCase()
public String getStringValue()
String type.
string string_value = 1;
Returns |
---|
Type | Description |
String | The stringValue.
|
public ByteString getStringValueBytes()
String type.
string string_value = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for stringValue.
|
public boolean hasFloatValue()
Float type.
float float_value = 2;
Returns |
---|
Type | Description |
boolean | Whether the floatValue field is set.
|
public boolean hasStringValue()
String type.
string string_value = 1;
Returns |
---|
Type | Description |
boolean | Whether the stringValue field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ModelEvaluationSlice.Slice.SliceSpec.Value.Builder mergeFrom(ModelEvaluationSlice.Slice.SliceSpec.Value other)
public ModelEvaluationSlice.Slice.SliceSpec.Value.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ModelEvaluationSlice.Slice.SliceSpec.Value.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ModelEvaluationSlice.Slice.SliceSpec.Value.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ModelEvaluationSlice.Slice.SliceSpec.Value.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ModelEvaluationSlice.Slice.SliceSpec.Value.Builder setFloatValue(float value)
Float type.
float float_value = 2;
Parameter |
---|
Name | Description |
value | float
The floatValue to set.
|
public ModelEvaluationSlice.Slice.SliceSpec.Value.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public ModelEvaluationSlice.Slice.SliceSpec.Value.Builder setStringValue(String value)
String type.
string string_value = 1;
Parameter |
---|
Name | Description |
value | String
The stringValue to set.
|
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.
|
public final ModelEvaluationSlice.Slice.SliceSpec.Value.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides