Class MetricMetadata.ScoreRange (3.100.0)

public static final class MetricMetadata.ScoreRange extends GeneratedMessage implements MetricMetadata.ScoreRangeOrBuilder

The range of possible scores for this metric, used for plotting.

Protobuf type google.cloud.aiplatform.v1beta1.MetricMetadata.ScoreRange

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

MAX_FIELD_NUMBER

public static final int MAX_FIELD_NUMBER
Field Value
Type Description
int

MIN_FIELD_NUMBER

public static final int MIN_FIELD_NUMBER
Field Value
Type Description
int

STEP_FIELD_NUMBER

public static final int STEP_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MetricMetadata.ScoreRange getDefaultInstance()
Returns
Type Description
MetricMetadata.ScoreRange

getDescriptor()

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

newBuilder()

public static MetricMetadata.ScoreRange.Builder newBuilder()
Returns
Type Description
MetricMetadata.ScoreRange.Builder

newBuilder(MetricMetadata.ScoreRange prototype)

public static MetricMetadata.ScoreRange.Builder newBuilder(MetricMetadata.ScoreRange prototype)
Parameter
Name Description
prototype MetricMetadata.ScoreRange
Returns
Type Description
MetricMetadata.ScoreRange.Builder

parseDelimitedFrom(InputStream input)

public static MetricMetadata.ScoreRange parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MetricMetadata.ScoreRange
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MetricMetadata.ScoreRange parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetricMetadata.ScoreRange
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MetricMetadata.ScoreRange parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MetricMetadata.ScoreRange
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MetricMetadata.ScoreRange parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetricMetadata.ScoreRange
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MetricMetadata.ScoreRange parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MetricMetadata.ScoreRange
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MetricMetadata.ScoreRange parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetricMetadata.ScoreRange
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MetricMetadata.ScoreRange parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MetricMetadata.ScoreRange
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MetricMetadata.ScoreRange parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetricMetadata.ScoreRange
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MetricMetadata.ScoreRange parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MetricMetadata.ScoreRange
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MetricMetadata.ScoreRange parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetricMetadata.ScoreRange
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static MetricMetadata.ScoreRange parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MetricMetadata.ScoreRange
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MetricMetadata.ScoreRange parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetricMetadata.ScoreRange
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<MetricMetadata.ScoreRange> parser()
Returns
Type Description
Parser<ScoreRange>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public MetricMetadata.ScoreRange getDefaultInstanceForType()
Returns
Type Description
MetricMetadata.ScoreRange

getDescription()

public String getDescription()

Optional. The description of the score explaining the directionality etc.

string description = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. The description of the score explaining the directionality etc.

string description = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getMax()

public double getMax()

Required. The maximum value of the score range (inclusive).

optional double max = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
double

The max.

getMin()

public double getMin()

Required. The minimum value of the score range (inclusive).

optional double min = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
double

The min.

getParserForType()

public Parser<MetricMetadata.ScoreRange> getParserForType()
Returns
Type Description
Parser<ScoreRange>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStep()

public double getStep()

Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous.

optional double step = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
double

The step.

hasMax()

public boolean hasMax()

Required. The maximum value of the score range (inclusive).

optional double max = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the max field is set.

hasMin()

public boolean hasMin()

Required. The minimum value of the score range (inclusive).

optional double min = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the min field is set.

hasStep()

public boolean hasStep()

Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous.

optional double step = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the step field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public MetricMetadata.ScoreRange.Builder newBuilderForType()
Returns
Type Description
MetricMetadata.ScoreRange.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected MetricMetadata.ScoreRange.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MetricMetadata.ScoreRange.Builder
Overrides

toBuilder()

public MetricMetadata.ScoreRange.Builder toBuilder()
Returns
Type Description
MetricMetadata.ScoreRange.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException