public static final class RubricBasedInstructionFollowingInstance.Builder extends GeneratedMessage.Builder<RubricBasedInstructionFollowingInstance.Builder> implements RubricBasedInstructionFollowingInstanceOrBuilderInstance for RubricBasedInstructionFollowing metric - one instance corresponds to one row in an evaluation dataset.
Protobuf type google.cloud.aiplatform.v1beta1.RubricBasedInstructionFollowingInstance
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RubricBasedInstructionFollowingInstance.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RubricBasedInstructionFollowingInstance build()| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance |
|
buildPartial()
public RubricBasedInstructionFollowingInstance buildPartial()| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance |
|
clear()
public RubricBasedInstructionFollowingInstance.Builder clear()| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance.Builder |
|
clearInstance()
public RubricBasedInstructionFollowingInstance.Builder clearInstance()| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance.Builder |
|
clearJsonInstance()
public RubricBasedInstructionFollowingInstance.Builder clearJsonInstance()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 |
RubricBasedInstructionFollowingInstance.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RubricBasedInstructionFollowingInstance getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RubricBasedInstructionFollowingInstance other)
public RubricBasedInstructionFollowingInstance.Builder mergeFrom(RubricBasedInstructionFollowingInstance other)| Parameter | |
|---|---|
| Name | Description |
other |
RubricBasedInstructionFollowingInstance |
| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RubricBasedInstructionFollowingInstance.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RubricBasedInstructionFollowingInstance.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance.Builder |
|
setJsonInstance(String value)
public RubricBasedInstructionFollowingInstance.Builder setJsonInstance(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe jsonInstance to set. |
| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance.Builder |
This builder for chaining. |
setJsonInstanceBytes(ByteString value)
public RubricBasedInstructionFollowingInstance.Builder setJsonInstanceBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for jsonInstance to set. |
| Returns | |
|---|---|
| Type | Description |
RubricBasedInstructionFollowingInstance.Builder |
This builder for chaining. |