public interface RubricOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getContent()
public abstract Rubric.Content getContent()Required. The actual testable criteria for the rubric.
.google.cloud.aiplatform.v1beta1.Rubric.Content content = 2;
| Returns | |
|---|---|
| Type | Description |
Rubric.Content |
The content. |
getContentOrBuilder()
public abstract Rubric.ContentOrBuilder getContentOrBuilder()Required. The actual testable criteria for the rubric.
.google.cloud.aiplatform.v1beta1.Rubric.Content content = 2;
| Returns | |
|---|---|
| Type | Description |
Rubric.ContentOrBuilder |
|
getImportance()
public abstract Rubric.Importance getImportance()Optional. The relative importance of this rubric.
optional .google.cloud.aiplatform.v1beta1.Rubric.Importance importance = 4;
| Returns | |
|---|---|
| Type | Description |
Rubric.Importance |
The importance. |
getImportanceValue()
public abstract int getImportanceValue()Optional. The relative importance of this rubric.
optional .google.cloud.aiplatform.v1beta1.Rubric.Importance importance = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for importance. |
getRubricId()
public abstract String getRubricId()Unique identifier for the rubric. This ID is used to refer to this rubric, e.g., in RubricVerdict.
string rubric_id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The rubricId. |
getRubricIdBytes()
public abstract ByteString getRubricIdBytes()Unique identifier for the rubric. This ID is used to refer to this rubric, e.g., in RubricVerdict.
string rubric_id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for rubricId. |
getType()
public abstract String getType()Optional. A type designator for the rubric, which can inform how it's evaluated or interpreted by systems or users. It's recommended to use consistent, well-defined, upper snake_case strings. Examples: "SUMMARIZATION_QUALITY", "SAFETY_HARMFUL_CONTENT", "INSTRUCTION_ADHERENCE".
optional string type = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The type. |
getTypeBytes()
public abstract ByteString getTypeBytes()Optional. A type designator for the rubric, which can inform how it's evaluated or interpreted by systems or users. It's recommended to use consistent, well-defined, upper snake_case strings. Examples: "SUMMARIZATION_QUALITY", "SAFETY_HARMFUL_CONTENT", "INSTRUCTION_ADHERENCE".
optional string type = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for type. |
hasContent()
public abstract boolean hasContent()Required. The actual testable criteria for the rubric.
.google.cloud.aiplatform.v1beta1.Rubric.Content content = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the content field is set. |
hasImportance()
public abstract boolean hasImportance()Optional. The relative importance of this rubric.
optional .google.cloud.aiplatform.v1beta1.Rubric.Importance importance = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the importance field is set. |
hasType()
public abstract boolean hasType()Optional. A type designator for the rubric, which can inform how it's evaluated or interpreted by systems or users. It's recommended to use consistent, well-defined, upper snake_case strings. Examples: "SUMMARIZATION_QUALITY", "SAFETY_HARMFUL_CONTENT", "INSTRUCTION_ADHERENCE".
optional string type = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the type field is set. |