public static final class PointwiseMetricResult.Builder extends GeneratedMessage.Builder<PointwiseMetricResult.Builder> implements PointwiseMetricResultOrBuilderSpec for pointwise metric result.
Protobuf type google.cloud.aiplatform.v1beta1.PointwiseMetricResult
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PointwiseMetricResult.BuilderImplements
PointwiseMetricResultOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PointwiseMetricResult build()| Returns | |
|---|---|
| Type | Description |
PointwiseMetricResult |
|
buildPartial()
public PointwiseMetricResult buildPartial()| Returns | |
|---|---|
| Type | Description |
PointwiseMetricResult |
|
clear()
public PointwiseMetricResult.Builder clear()| Returns | |
|---|---|
| Type | Description |
PointwiseMetricResult.Builder |
|
clearCustomOutput()
public PointwiseMetricResult.Builder clearCustomOutput()Output only. Spec for custom output.
.google.cloud.aiplatform.v1beta1.CustomOutput custom_output = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PointwiseMetricResult.Builder |
|
clearExplanation()
public PointwiseMetricResult.Builder clearExplanation()Output only. Explanation for pointwise metric score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PointwiseMetricResult.Builder |
This builder for chaining. |
clearScore()
public PointwiseMetricResult.Builder clearScore()Output only. Pointwise metric score.
optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PointwiseMetricResult.Builder |
This builder for chaining. |
getCustomOutput()
public CustomOutput getCustomOutput()Output only. Spec for custom output.
.google.cloud.aiplatform.v1beta1.CustomOutput custom_output = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CustomOutput |
The customOutput. |
getCustomOutputBuilder()
public CustomOutput.Builder getCustomOutputBuilder()Output only. Spec for custom output.
.google.cloud.aiplatform.v1beta1.CustomOutput custom_output = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CustomOutput.Builder |
|
getCustomOutputOrBuilder()
public CustomOutputOrBuilder getCustomOutputOrBuilder()Output only. Spec for custom output.
.google.cloud.aiplatform.v1beta1.CustomOutput custom_output = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CustomOutputOrBuilder |
|
getDefaultInstanceForType()
public PointwiseMetricResult getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PointwiseMetricResult |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExplanation()
public String getExplanation()Output only. Explanation for pointwise metric score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The explanation. |
getExplanationBytes()
public ByteString getExplanationBytes()Output only. Explanation for pointwise metric score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for explanation. |
getScore()
public float getScore()Output only. Pointwise metric score.
optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
float |
The score. |
hasCustomOutput()
public boolean hasCustomOutput()Output only. Spec for custom output.
.google.cloud.aiplatform.v1beta1.CustomOutput custom_output = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the customOutput field is set. |
hasScore()
public boolean hasScore()Output only. Pointwise metric score.
optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the score field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCustomOutput(CustomOutput value)
public PointwiseMetricResult.Builder mergeCustomOutput(CustomOutput value)Output only. Spec for custom output.
.google.cloud.aiplatform.v1beta1.CustomOutput custom_output = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
CustomOutput |
| Returns | |
|---|---|
| Type | Description |
PointwiseMetricResult.Builder |
|
mergeFrom(PointwiseMetricResult other)
public PointwiseMetricResult.Builder mergeFrom(PointwiseMetricResult other)| Parameter | |
|---|---|
| Name | Description |
other |
PointwiseMetricResult |
| Returns | |
|---|---|
| Type | Description |
PointwiseMetricResult.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PointwiseMetricResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PointwiseMetricResult.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PointwiseMetricResult.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PointwiseMetricResult.Builder |
|
setCustomOutput(CustomOutput value)
public PointwiseMetricResult.Builder setCustomOutput(CustomOutput value)Output only. Spec for custom output.
.google.cloud.aiplatform.v1beta1.CustomOutput custom_output = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
CustomOutput |
| Returns | |
|---|---|
| Type | Description |
PointwiseMetricResult.Builder |
|
setCustomOutput(CustomOutput.Builder builderForValue)
public PointwiseMetricResult.Builder setCustomOutput(CustomOutput.Builder builderForValue)Output only. Spec for custom output.
.google.cloud.aiplatform.v1beta1.CustomOutput custom_output = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CustomOutput.Builder |
| Returns | |
|---|---|
| Type | Description |
PointwiseMetricResult.Builder |
|
setExplanation(String value)
public PointwiseMetricResult.Builder setExplanation(String value)Output only. Explanation for pointwise metric score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe explanation to set. |
| Returns | |
|---|---|
| Type | Description |
PointwiseMetricResult.Builder |
This builder for chaining. |
setExplanationBytes(ByteString value)
public PointwiseMetricResult.Builder setExplanationBytes(ByteString value)Output only. Explanation for pointwise metric score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for explanation to set. |
| Returns | |
|---|---|
| Type | Description |
PointwiseMetricResult.Builder |
This builder for chaining. |
setScore(float value)
public PointwiseMetricResult.Builder setScore(float value)Output only. Pointwise metric score.
optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe score to set. |
| Returns | |
|---|---|
| Type | Description |
PointwiseMetricResult.Builder |
This builder for chaining. |