Class ModelEvaluationSlice.Slice.SliceSpec.Value (3.31.0)

public static final class ModelEvaluationSlice.Slice.SliceSpec.Value extends GeneratedMessageV3 implements ModelEvaluationSlice.Slice.SliceSpec.ValueOrBuilder

Single value that supports strings and floats.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ModelEvaluationSlice.Slice.SliceSpec.Value

Static Fields

FLOAT_VALUE_FIELD_NUMBER

public static final int FLOAT_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

STRING_VALUE_FIELD_NUMBER

public static final int STRING_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ModelEvaluationSlice.Slice.SliceSpec.Value getDefaultInstance()
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Value

getDescriptor()

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

newBuilder()

public static ModelEvaluationSlice.Slice.SliceSpec.Value.Builder newBuilder()
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Value.Builder

newBuilder(ModelEvaluationSlice.Slice.SliceSpec.Value prototype)

public static ModelEvaluationSlice.Slice.SliceSpec.Value.Builder newBuilder(ModelEvaluationSlice.Slice.SliceSpec.Value prototype)
Parameter
NameDescription
prototypeModelEvaluationSlice.Slice.SliceSpec.Value
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Value.Builder

parseDelimitedFrom(InputStream input)

public static ModelEvaluationSlice.Slice.SliceSpec.Value parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Value
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelEvaluationSlice.Slice.SliceSpec.Value parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Value
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ModelEvaluationSlice.Slice.SliceSpec.Value parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Value
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ModelEvaluationSlice.Slice.SliceSpec.Value parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Value
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ModelEvaluationSlice.Slice.SliceSpec.Value parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Value
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ModelEvaluationSlice.Slice.SliceSpec.Value parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Value
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ModelEvaluationSlice.Slice.SliceSpec.Value parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Value
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelEvaluationSlice.Slice.SliceSpec.Value parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Value
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ModelEvaluationSlice.Slice.SliceSpec.Value parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Value
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelEvaluationSlice.Slice.SliceSpec.Value parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Value
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ModelEvaluationSlice.Slice.SliceSpec.Value parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Value
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ModelEvaluationSlice.Slice.SliceSpec.Value parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Value
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ModelEvaluationSlice.Slice.SliceSpec.Value> parser()
Returns
TypeDescription
Parser<Value>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getFloatValue()

public float getFloatValue()

Float type.

float float_value = 2;

Returns
TypeDescription
float

The floatValue.

getKindCase()

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

getParserForType()

public Parser<ModelEvaluationSlice.Slice.SliceSpec.Value> getParserForType()
Returns
TypeDescription
Parser<Value>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStringValue()

public String getStringValue()

String type.

string string_value = 1;

Returns
TypeDescription
String

The stringValue.

getStringValueBytes()

public ByteString getStringValueBytes()

String type.

string string_value = 1;

Returns
TypeDescription
ByteString

The bytes for stringValue.

hasFloatValue()

public boolean hasFloatValue()

Float type.

float float_value = 2;

Returns
TypeDescription
boolean

Whether the floatValue field is set.

hasStringValue()

public boolean hasStringValue()

String type.

string string_value = 1;

Returns
TypeDescription
boolean

Whether the stringValue field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ModelEvaluationSlice.Slice.SliceSpec.Value.Builder newBuilderForType()
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Value.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ModelEvaluationSlice.Slice.SliceSpec.Value.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Value.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ModelEvaluationSlice.Slice.SliceSpec.Value.Builder toBuilder()
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Value.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException