Interface RubricOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Rubric,Rubric.Builder
@Generated
public interface RubricOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.Optional.intOptional.Unique identifier for the rubric.com.google.protobuf.ByteStringUnique identifier for the rubric.getType()Optional.com.google.protobuf.ByteStringOptional.booleanRequired.booleanOptional.booleanhasType()Optional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getRubricId
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:
- The rubricId.
-
getRubricIdBytes
com.google.protobuf.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:
- The bytes for rubricId.
-
hasContent
boolean hasContent()Required. The actual testable criteria for the rubric.
.google.cloud.aiplatform.v1beta1.Rubric.Content content = 2;- Returns:
- Whether the content field is set.
-
getContent
Rubric.Content getContent()Required. The actual testable criteria for the rubric.
.google.cloud.aiplatform.v1beta1.Rubric.Content content = 2;- Returns:
- The content.
-
getContentOrBuilder
Rubric.ContentOrBuilder getContentOrBuilder()Required. The actual testable criteria for the rubric.
.google.cloud.aiplatform.v1beta1.Rubric.Content content = 2; -
hasType
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:
- Whether the type field is set.
-
getType
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:
- The type.
-
getTypeBytes
com.google.protobuf.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:
- The bytes for type.
-
hasImportance
boolean hasImportance()Optional. The relative importance of this rubric.
optional .google.cloud.aiplatform.v1beta1.Rubric.Importance importance = 4;- Returns:
- Whether the importance field is set.
-
getImportanceValue
int getImportanceValue()Optional. The relative importance of this rubric.
optional .google.cloud.aiplatform.v1beta1.Rubric.Importance importance = 4;- Returns:
- The enum numeric value on the wire for importance.
-
getImportance
Rubric.Importance getImportance()Optional. The relative importance of this rubric.
optional .google.cloud.aiplatform.v1beta1.Rubric.Importance importance = 4;- Returns:
- The importance.
-