public static final class MetricMetadata.ScoreRange.Builder extends GeneratedMessage.Builder<MetricMetadata.ScoreRange.Builder> implements MetricMetadata.ScoreRangeOrBuilderThe range of possible scores for this metric, used for plotting.
Protobuf type google.cloud.aiplatform.v1beta1.MetricMetadata.ScoreRange
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MetricMetadata.ScoreRange.BuilderImplements
MetricMetadata.ScoreRangeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public MetricMetadata.ScoreRange build()| Returns | |
|---|---|
| Type | Description |
MetricMetadata.ScoreRange |
|
buildPartial()
public MetricMetadata.ScoreRange buildPartial()| Returns | |
|---|---|
| Type | Description |
MetricMetadata.ScoreRange |
|
clear()
public MetricMetadata.ScoreRange.Builder clear()| Returns | |
|---|---|
| Type | Description |
MetricMetadata.ScoreRange.Builder |
|
clearDescription()
public MetricMetadata.ScoreRange.Builder clearDescription()Optional. The description of the score explaining the directionality etc.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
MetricMetadata.ScoreRange.Builder |
This builder for chaining. |
clearMax()
public MetricMetadata.ScoreRange.Builder clearMax()Required. The maximum value of the score range (inclusive).
optional double max = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
MetricMetadata.ScoreRange.Builder |
This builder for chaining. |
clearMin()
public MetricMetadata.ScoreRange.Builder clearMin()Required. The minimum value of the score range (inclusive).
optional double min = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
MetricMetadata.ScoreRange.Builder |
This builder for chaining. |
clearStep()
public MetricMetadata.ScoreRange.Builder clearStep()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 |
MetricMetadata.ScoreRange.Builder |
This builder for chaining. |
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. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(MetricMetadata.ScoreRange other)
public MetricMetadata.ScoreRange.Builder mergeFrom(MetricMetadata.ScoreRange other)| Parameter | |
|---|---|
| Name | Description |
other |
MetricMetadata.ScoreRange |
| Returns | |
|---|---|
| Type | Description |
MetricMetadata.ScoreRange.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MetricMetadata.ScoreRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MetricMetadata.ScoreRange.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MetricMetadata.ScoreRange.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MetricMetadata.ScoreRange.Builder |
|
setDescription(String value)
public MetricMetadata.ScoreRange.Builder setDescription(String value)Optional. The description of the score explaining the directionality etc.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
MetricMetadata.ScoreRange.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public MetricMetadata.ScoreRange.Builder setDescriptionBytes(ByteString value)Optional. The description of the score explaining the directionality etc.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
MetricMetadata.ScoreRange.Builder |
This builder for chaining. |
setMax(double value)
public MetricMetadata.ScoreRange.Builder setMax(double value)Required. The maximum value of the score range (inclusive).
optional double max = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
doubleThe max to set. |
| Returns | |
|---|---|
| Type | Description |
MetricMetadata.ScoreRange.Builder |
This builder for chaining. |
setMin(double value)
public MetricMetadata.ScoreRange.Builder setMin(double value)Required. The minimum value of the score range (inclusive).
optional double min = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
doubleThe min to set. |
| Returns | |
|---|---|
| Type | Description |
MetricMetadata.ScoreRange.Builder |
This builder for chaining. |
setStep(double value)
public MetricMetadata.ScoreRange.Builder setStep(double value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
doubleThe step to set. |
| Returns | |
|---|---|
| Type | Description |
MetricMetadata.ScoreRange.Builder |
This builder for chaining. |