public static final class RubricVerdict.Builder extends GeneratedMessage.Builder<RubricVerdict.Builder> implements RubricVerdictOrBuilderRepresents the verdict of an evaluation against a single rubric.
Protobuf type google.cloud.aiplatform.v1beta1.RubricVerdict
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RubricVerdict.BuilderImplements
RubricVerdictOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RubricVerdict build()| Returns | |
|---|---|
| Type | Description |
RubricVerdict |
|
buildPartial()
public RubricVerdict buildPartial()| Returns | |
|---|---|
| Type | Description |
RubricVerdict |
|
clear()
public RubricVerdict.Builder clear()| Returns | |
|---|---|
| Type | Description |
RubricVerdict.Builder |
|
clearEvaluatedRubric()
public RubricVerdict.Builder clearEvaluatedRubric()Required. The full rubric definition that was evaluated. Storing this ensures the verdict is self-contained and understandable, especially if the original rubric definition changes or was dynamically generated.
.google.cloud.aiplatform.v1beta1.Rubric evaluated_rubric = 1;
| Returns | |
|---|---|
| Type | Description |
RubricVerdict.Builder |
|
clearReasoning()
public RubricVerdict.Builder clearReasoning()Optional. Human-readable reasoning or explanation for the verdict. This can include specific examples or details from the evaluated content that justify the given verdict.
optional string reasoning = 3;
| Returns | |
|---|---|
| Type | Description |
RubricVerdict.Builder |
This builder for chaining. |
clearVerdict()
public RubricVerdict.Builder clearVerdict() Required. Outcome of the evaluation against the rubric, represented as a
boolean. true indicates a "Pass", false indicates a "Fail".
bool verdict = 2;
| Returns | |
|---|---|
| Type | Description |
RubricVerdict.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RubricVerdict getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RubricVerdict |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEvaluatedRubric()
public Rubric getEvaluatedRubric()Required. The full rubric definition that was evaluated. Storing this ensures the verdict is self-contained and understandable, especially if the original rubric definition changes or was dynamically generated.
.google.cloud.aiplatform.v1beta1.Rubric evaluated_rubric = 1;
| Returns | |
|---|---|
| Type | Description |
Rubric |
The evaluatedRubric. |
getEvaluatedRubricBuilder()
public Rubric.Builder getEvaluatedRubricBuilder()Required. The full rubric definition that was evaluated. Storing this ensures the verdict is self-contained and understandable, especially if the original rubric definition changes or was dynamically generated.
.google.cloud.aiplatform.v1beta1.Rubric evaluated_rubric = 1;
| Returns | |
|---|---|
| Type | Description |
Rubric.Builder |
|
getEvaluatedRubricOrBuilder()
public RubricOrBuilder getEvaluatedRubricOrBuilder()Required. The full rubric definition that was evaluated. Storing this ensures the verdict is self-contained and understandable, especially if the original rubric definition changes or was dynamically generated.
.google.cloud.aiplatform.v1beta1.Rubric evaluated_rubric = 1;
| Returns | |
|---|---|
| Type | Description |
RubricOrBuilder |
|
getReasoning()
public String getReasoning()Optional. Human-readable reasoning or explanation for the verdict. This can include specific examples or details from the evaluated content that justify the given verdict.
optional string reasoning = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The reasoning. |
getReasoningBytes()
public ByteString getReasoningBytes()Optional. Human-readable reasoning or explanation for the verdict. This can include specific examples or details from the evaluated content that justify the given verdict.
optional string reasoning = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for reasoning. |
getVerdict()
public boolean getVerdict() Required. Outcome of the evaluation against the rubric, represented as a
boolean. true indicates a "Pass", false indicates a "Fail".
bool verdict = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
The verdict. |
hasEvaluatedRubric()
public boolean hasEvaluatedRubric()Required. The full rubric definition that was evaluated. Storing this ensures the verdict is self-contained and understandable, especially if the original rubric definition changes or was dynamically generated.
.google.cloud.aiplatform.v1beta1.Rubric evaluated_rubric = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the evaluatedRubric field is set. |
hasReasoning()
public boolean hasReasoning()Optional. Human-readable reasoning or explanation for the verdict. This can include specific examples or details from the evaluated content that justify the given verdict.
optional string reasoning = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the reasoning field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEvaluatedRubric(Rubric value)
public RubricVerdict.Builder mergeEvaluatedRubric(Rubric value)Required. The full rubric definition that was evaluated. Storing this ensures the verdict is self-contained and understandable, especially if the original rubric definition changes or was dynamically generated.
.google.cloud.aiplatform.v1beta1.Rubric evaluated_rubric = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Rubric |
| Returns | |
|---|---|
| Type | Description |
RubricVerdict.Builder |
|
mergeFrom(RubricVerdict other)
public RubricVerdict.Builder mergeFrom(RubricVerdict other)| Parameter | |
|---|---|
| Name | Description |
other |
RubricVerdict |
| Returns | |
|---|---|
| Type | Description |
RubricVerdict.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RubricVerdict.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RubricVerdict.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RubricVerdict.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RubricVerdict.Builder |
|
setEvaluatedRubric(Rubric value)
public RubricVerdict.Builder setEvaluatedRubric(Rubric value)Required. The full rubric definition that was evaluated. Storing this ensures the verdict is self-contained and understandable, especially if the original rubric definition changes or was dynamically generated.
.google.cloud.aiplatform.v1beta1.Rubric evaluated_rubric = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Rubric |
| Returns | |
|---|---|
| Type | Description |
RubricVerdict.Builder |
|
setEvaluatedRubric(Rubric.Builder builderForValue)
public RubricVerdict.Builder setEvaluatedRubric(Rubric.Builder builderForValue)Required. The full rubric definition that was evaluated. Storing this ensures the verdict is self-contained and understandable, especially if the original rubric definition changes or was dynamically generated.
.google.cloud.aiplatform.v1beta1.Rubric evaluated_rubric = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Rubric.Builder |
| Returns | |
|---|---|
| Type | Description |
RubricVerdict.Builder |
|
setReasoning(String value)
public RubricVerdict.Builder setReasoning(String value)Optional. Human-readable reasoning or explanation for the verdict. This can include specific examples or details from the evaluated content that justify the given verdict.
optional string reasoning = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe reasoning to set. |
| Returns | |
|---|---|
| Type | Description |
RubricVerdict.Builder |
This builder for chaining. |
setReasoningBytes(ByteString value)
public RubricVerdict.Builder setReasoningBytes(ByteString value)Optional. Human-readable reasoning or explanation for the verdict. This can include specific examples or details from the evaluated content that justify the given verdict.
optional string reasoning = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for reasoning to set. |
| Returns | |
|---|---|
| Type | Description |
RubricVerdict.Builder |
This builder for chaining. |
setVerdict(boolean value)
public RubricVerdict.Builder setVerdict(boolean value) Required. Outcome of the evaluation against the rubric, represented as a
boolean. true indicates a "Pass", false indicates a "Fail".
bool verdict = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe verdict to set. |
| Returns | |
|---|---|
| Type | Description |
RubricVerdict.Builder |
This builder for chaining. |