public static final class GenerateInstanceRubricsRequest.Builder extends GeneratedMessage.Builder<GenerateInstanceRubricsRequest.Builder> implements GenerateInstanceRubricsRequestOrBuilderRequest message for EvaluationService.GenerateInstanceRubrics.
Protobuf type google.cloud.aiplatform.v1beta1.GenerateInstanceRubricsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GenerateInstanceRubricsRequest.BuilderImplements
GenerateInstanceRubricsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllContents(Iterable<? extends Content> values)
public GenerateInstanceRubricsRequest.Builder addAllContents(Iterable<? extends Content> values)Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1beta1.Content> |
| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
|
addContents(Content value)
public GenerateInstanceRubricsRequest.Builder addContents(Content value)Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Content |
| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
|
addContents(Content.Builder builderForValue)
public GenerateInstanceRubricsRequest.Builder addContents(Content.Builder builderForValue)Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Content.Builder |
| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
|
addContents(int index, Content value)
public GenerateInstanceRubricsRequest.Builder addContents(int index, Content value)Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Content |
| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
|
addContents(int index, Content.Builder builderForValue)
public GenerateInstanceRubricsRequest.Builder addContents(int index, Content.Builder builderForValue)Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Content.Builder |
| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
|
addContentsBuilder()
public Content.Builder addContentsBuilder()Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
addContentsBuilder(int index)
public Content.Builder addContentsBuilder(int index)Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
build()
public GenerateInstanceRubricsRequest build()| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest |
|
buildPartial()
public GenerateInstanceRubricsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest |
|
clear()
public GenerateInstanceRubricsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
|
clearAgentConfig()
public GenerateInstanceRubricsRequest.Builder clearAgentConfig()Optional. Agent configuration, required for agent-based rubric generation.
.google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentConfig agent_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
|
clearContents()
public GenerateInstanceRubricsRequest.Builder clearContents()Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
|
clearLocation()
public GenerateInstanceRubricsRequest.Builder clearLocation() Required. The resource name of the Location to generate rubrics from.
Format: projects/{project}/locations/{location}
string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
This builder for chaining. |
clearPredefinedRubricGenerationSpec()
public GenerateInstanceRubricsRequest.Builder clearPredefinedRubricGenerationSpec() Optional. Specification for using the rubric generation configs of a
pre-defined metric, e.g. "generic_quality_v1" and
"instruction_following_v1". Some of the configs may be only used in rubric
generation and not supporting evaluation, e.g.
"fully_customized_generic_quality_v1". If this field is set, the
rubric_generation_spec field will be ignored.
.google.cloud.aiplatform.v1beta1.PredefinedMetricSpec predefined_rubric_generation_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
|
clearRubricGenerationSpec()
public GenerateInstanceRubricsRequest.Builder clearRubricGenerationSpec()Optional. Specification for how the rubrics should be generated.
.google.cloud.aiplatform.v1beta1.RubricGenerationSpec rubric_generation_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
|
getAgentConfig()
public EvaluationInstance.DeprecatedAgentConfig getAgentConfig()Optional. Agent configuration, required for agent-based rubric generation.
.google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentConfig agent_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EvaluationInstance.DeprecatedAgentConfig |
The agentConfig. |
getAgentConfigBuilder()
public EvaluationInstance.DeprecatedAgentConfig.Builder getAgentConfigBuilder()Optional. Agent configuration, required for agent-based rubric generation.
.google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentConfig agent_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EvaluationInstance.DeprecatedAgentConfig.Builder |
|
getAgentConfigOrBuilder()
public EvaluationInstance.DeprecatedAgentConfigOrBuilder getAgentConfigOrBuilder()Optional. Agent configuration, required for agent-based rubric generation.
.google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentConfig agent_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EvaluationInstance.DeprecatedAgentConfigOrBuilder |
|
getContents(int index)
public Content getContents(int index)Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Content |
|
getContentsBuilder(int index)
public Content.Builder getContentsBuilder(int index)Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
getContentsBuilderList()
public List<Content.Builder> getContentsBuilderList()Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getContentsCount()
public int getContentsCount()Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
|
getContentsList()
public List<Content> getContentsList()Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<Content> |
|
getContentsOrBuilder(int index)
public ContentOrBuilder getContentsOrBuilder(int index)Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ContentOrBuilder |
|
getContentsOrBuilderList()
public List<? extends ContentOrBuilder> getContentsOrBuilderList()Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.aiplatform.v1beta1.ContentOrBuilder> |
|
getDefaultInstanceForType()
public GenerateInstanceRubricsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLocation()
public String getLocation() Required. The resource name of the Location to generate rubrics from.
Format: projects/{project}/locations/{location}
string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The location. |
getLocationBytes()
public ByteString getLocationBytes() Required. The resource name of the Location to generate rubrics from.
Format: projects/{project}/locations/{location}
string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for location. |
getPredefinedRubricGenerationSpec()
public PredefinedMetricSpec getPredefinedRubricGenerationSpec() Optional. Specification for using the rubric generation configs of a
pre-defined metric, e.g. "generic_quality_v1" and
"instruction_following_v1". Some of the configs may be only used in rubric
generation and not supporting evaluation, e.g.
"fully_customized_generic_quality_v1". If this field is set, the
rubric_generation_spec field will be ignored.
.google.cloud.aiplatform.v1beta1.PredefinedMetricSpec predefined_rubric_generation_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PredefinedMetricSpec |
The predefinedRubricGenerationSpec. |
getPredefinedRubricGenerationSpecBuilder()
public PredefinedMetricSpec.Builder getPredefinedRubricGenerationSpecBuilder() Optional. Specification for using the rubric generation configs of a
pre-defined metric, e.g. "generic_quality_v1" and
"instruction_following_v1". Some of the configs may be only used in rubric
generation and not supporting evaluation, e.g.
"fully_customized_generic_quality_v1". If this field is set, the
rubric_generation_spec field will be ignored.
.google.cloud.aiplatform.v1beta1.PredefinedMetricSpec predefined_rubric_generation_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PredefinedMetricSpec.Builder |
|
getPredefinedRubricGenerationSpecOrBuilder()
public PredefinedMetricSpecOrBuilder getPredefinedRubricGenerationSpecOrBuilder() Optional. Specification for using the rubric generation configs of a
pre-defined metric, e.g. "generic_quality_v1" and
"instruction_following_v1". Some of the configs may be only used in rubric
generation and not supporting evaluation, e.g.
"fully_customized_generic_quality_v1". If this field is set, the
rubric_generation_spec field will be ignored.
.google.cloud.aiplatform.v1beta1.PredefinedMetricSpec predefined_rubric_generation_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PredefinedMetricSpecOrBuilder |
|
getRubricGenerationSpec()
public RubricGenerationSpec getRubricGenerationSpec()Optional. Specification for how the rubrics should be generated.
.google.cloud.aiplatform.v1beta1.RubricGenerationSpec rubric_generation_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RubricGenerationSpec |
The rubricGenerationSpec. |
getRubricGenerationSpecBuilder()
public RubricGenerationSpec.Builder getRubricGenerationSpecBuilder()Optional. Specification for how the rubrics should be generated.
.google.cloud.aiplatform.v1beta1.RubricGenerationSpec rubric_generation_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RubricGenerationSpec.Builder |
|
getRubricGenerationSpecOrBuilder()
public RubricGenerationSpecOrBuilder getRubricGenerationSpecOrBuilder()Optional. Specification for how the rubrics should be generated.
.google.cloud.aiplatform.v1beta1.RubricGenerationSpec rubric_generation_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RubricGenerationSpecOrBuilder |
|
hasAgentConfig()
public boolean hasAgentConfig()Optional. Agent configuration, required for agent-based rubric generation.
.google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentConfig agent_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the agentConfig field is set. |
hasPredefinedRubricGenerationSpec()
public boolean hasPredefinedRubricGenerationSpec() Optional. Specification for using the rubric generation configs of a
pre-defined metric, e.g. "generic_quality_v1" and
"instruction_following_v1". Some of the configs may be only used in rubric
generation and not supporting evaluation, e.g.
"fully_customized_generic_quality_v1". If this field is set, the
rubric_generation_spec field will be ignored.
.google.cloud.aiplatform.v1beta1.PredefinedMetricSpec predefined_rubric_generation_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the predefinedRubricGenerationSpec field is set. |
hasRubricGenerationSpec()
public boolean hasRubricGenerationSpec()Optional. Specification for how the rubrics should be generated.
.google.cloud.aiplatform.v1beta1.RubricGenerationSpec rubric_generation_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the rubricGenerationSpec field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAgentConfig(EvaluationInstance.DeprecatedAgentConfig value)
public GenerateInstanceRubricsRequest.Builder mergeAgentConfig(EvaluationInstance.DeprecatedAgentConfig value)Optional. Agent configuration, required for agent-based rubric generation.
.google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentConfig agent_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
EvaluationInstance.DeprecatedAgentConfig |
| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
|
mergeFrom(GenerateInstanceRubricsRequest other)
public GenerateInstanceRubricsRequest.Builder mergeFrom(GenerateInstanceRubricsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GenerateInstanceRubricsRequest |
| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerateInstanceRubricsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GenerateInstanceRubricsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
|
mergePredefinedRubricGenerationSpec(PredefinedMetricSpec value)
public GenerateInstanceRubricsRequest.Builder mergePredefinedRubricGenerationSpec(PredefinedMetricSpec value) Optional. Specification for using the rubric generation configs of a
pre-defined metric, e.g. "generic_quality_v1" and
"instruction_following_v1". Some of the configs may be only used in rubric
generation and not supporting evaluation, e.g.
"fully_customized_generic_quality_v1". If this field is set, the
rubric_generation_spec field will be ignored.
.google.cloud.aiplatform.v1beta1.PredefinedMetricSpec predefined_rubric_generation_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
PredefinedMetricSpec |
| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
|
mergeRubricGenerationSpec(RubricGenerationSpec value)
public GenerateInstanceRubricsRequest.Builder mergeRubricGenerationSpec(RubricGenerationSpec value)Optional. Specification for how the rubrics should be generated.
.google.cloud.aiplatform.v1beta1.RubricGenerationSpec rubric_generation_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
RubricGenerationSpec |
| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
|
removeContents(int index)
public GenerateInstanceRubricsRequest.Builder removeContents(int index)Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
|
setAgentConfig(EvaluationInstance.DeprecatedAgentConfig value)
public GenerateInstanceRubricsRequest.Builder setAgentConfig(EvaluationInstance.DeprecatedAgentConfig value)Optional. Agent configuration, required for agent-based rubric generation.
.google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentConfig agent_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
EvaluationInstance.DeprecatedAgentConfig |
| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
|
setAgentConfig(EvaluationInstance.DeprecatedAgentConfig.Builder builderForValue)
public GenerateInstanceRubricsRequest.Builder setAgentConfig(EvaluationInstance.DeprecatedAgentConfig.Builder builderForValue)Optional. Agent configuration, required for agent-based rubric generation.
.google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentConfig agent_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
EvaluationInstance.DeprecatedAgentConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
|
setContents(int index, Content value)
public GenerateInstanceRubricsRequest.Builder setContents(int index, Content value)Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Content |
| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
|
setContents(int index, Content.Builder builderForValue)
public GenerateInstanceRubricsRequest.Builder setContents(int index, Content.Builder builderForValue)Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Content.Builder |
| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
|
setLocation(String value)
public GenerateInstanceRubricsRequest.Builder setLocation(String value) Required. The resource name of the Location to generate rubrics from.
Format: projects/{project}/locations/{location}
string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe location to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
This builder for chaining. |
setLocationBytes(ByteString value)
public GenerateInstanceRubricsRequest.Builder setLocationBytes(ByteString value) Required. The resource name of the Location to generate rubrics from.
Format: projects/{project}/locations/{location}
string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for location to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
This builder for chaining. |
setPredefinedRubricGenerationSpec(PredefinedMetricSpec value)
public GenerateInstanceRubricsRequest.Builder setPredefinedRubricGenerationSpec(PredefinedMetricSpec value) Optional. Specification for using the rubric generation configs of a
pre-defined metric, e.g. "generic_quality_v1" and
"instruction_following_v1". Some of the configs may be only used in rubric
generation and not supporting evaluation, e.g.
"fully_customized_generic_quality_v1". If this field is set, the
rubric_generation_spec field will be ignored.
.google.cloud.aiplatform.v1beta1.PredefinedMetricSpec predefined_rubric_generation_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
PredefinedMetricSpec |
| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
|
setPredefinedRubricGenerationSpec(PredefinedMetricSpec.Builder builderForValue)
public GenerateInstanceRubricsRequest.Builder setPredefinedRubricGenerationSpec(PredefinedMetricSpec.Builder builderForValue) Optional. Specification for using the rubric generation configs of a
pre-defined metric, e.g. "generic_quality_v1" and
"instruction_following_v1". Some of the configs may be only used in rubric
generation and not supporting evaluation, e.g.
"fully_customized_generic_quality_v1". If this field is set, the
rubric_generation_spec field will be ignored.
.google.cloud.aiplatform.v1beta1.PredefinedMetricSpec predefined_rubric_generation_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PredefinedMetricSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
|
setRubricGenerationSpec(RubricGenerationSpec value)
public GenerateInstanceRubricsRequest.Builder setRubricGenerationSpec(RubricGenerationSpec value)Optional. Specification for how the rubrics should be generated.
.google.cloud.aiplatform.v1beta1.RubricGenerationSpec rubric_generation_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
RubricGenerationSpec |
| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
|
setRubricGenerationSpec(RubricGenerationSpec.Builder builderForValue)
public GenerateInstanceRubricsRequest.Builder setRubricGenerationSpec(RubricGenerationSpec.Builder builderForValue)Optional. Specification for how the rubrics should be generated.
.google.cloud.aiplatform.v1beta1.RubricGenerationSpec rubric_generation_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RubricGenerationSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
GenerateInstanceRubricsRequest.Builder |
|