public final class RubricBasedInstructionFollowingInstance extends GeneratedMessage implements RubricBasedInstructionFollowingInstanceOrBuilderInstance for RubricBasedInstructionFollowing metric - one instance corresponds to one row in an evaluation dataset.
Protobuf type google.cloud.aiplatform.v1beta1.RubricBasedInstructionFollowingInstance
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > RubricBasedInstructionFollowingInstanceStatic Fields
JSON_INSTANCE_FIELD_NUMBER
public static final int JSON_INSTANCE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static RubricBasedInstructionFollowingInstance getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static RubricBasedInstructionFollowingInstance.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance.Builder |
|
newBuilder(RubricBasedInstructionFollowingInstance prototype)
public static RubricBasedInstructionFollowingInstance.Builder newBuilder(RubricBasedInstructionFollowingInstance prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
RubricBasedInstructionFollowingInstance |
| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance.Builder |
|
parseDelimitedFrom(InputStream input)
public static RubricBasedInstructionFollowingInstance parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RubricBasedInstructionFollowingInstance parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static RubricBasedInstructionFollowingInstance parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RubricBasedInstructionFollowingInstance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static RubricBasedInstructionFollowingInstance parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RubricBasedInstructionFollowingInstance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static RubricBasedInstructionFollowingInstance parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RubricBasedInstructionFollowingInstance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static RubricBasedInstructionFollowingInstance parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RubricBasedInstructionFollowingInstance parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static RubricBasedInstructionFollowingInstance parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RubricBasedInstructionFollowingInstance parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<RubricBasedInstructionFollowingInstance> parser()| Returns | |
|---|---|
| Type | Description |
Parser<RubricBasedInstructionFollowingInstance> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public RubricBasedInstructionFollowingInstance getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance |
|
getInstanceCase()
public RubricBasedInstructionFollowingInstance.InstanceCase getInstanceCase()| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance.InstanceCase |
|
getJsonInstance()
public String getJsonInstance()Required. Instance specified as a json string. String key-value pairs are expected in the json_instance to render RubricBasedInstructionFollowing prompt templates.
string json_instance = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The jsonInstance. |
getJsonInstanceBytes()
public ByteString getJsonInstanceBytes()Required. Instance specified as a json string. String key-value pairs are expected in the json_instance to render RubricBasedInstructionFollowing prompt templates.
string json_instance = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for jsonInstance. |
getParserForType()
public Parser<RubricBasedInstructionFollowingInstance> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<RubricBasedInstructionFollowingInstance> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasJsonInstance()
public boolean hasJsonInstance()Required. Instance specified as a json string. String key-value pairs are expected in the json_instance to render RubricBasedInstructionFollowing prompt templates.
string json_instance = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the jsonInstance field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public RubricBasedInstructionFollowingInstance.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected RubricBasedInstructionFollowingInstance.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance.Builder |
|
toBuilder()
public RubricBasedInstructionFollowingInstance.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|