public interface GenerateSyntheticDataRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCount()
public abstract int getCount()Required. The number of synthetic examples to generate. For this stateless API, the count is limited to a small number.
int32 count = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The count. |
getExamples(int index)
public abstract SyntheticExample getExamples(int index)Optional. A list of few-shot examples to guide the model's output style and format.
repeated .google.cloud.aiplatform.v1.SyntheticExample examples = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SyntheticExample |
|
getExamplesCount()
public abstract int getExamplesCount()Optional. A list of few-shot examples to guide the model's output style and format.
repeated .google.cloud.aiplatform.v1.SyntheticExample examples = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getExamplesList()
public abstract List<SyntheticExample> getExamplesList()Optional. A list of few-shot examples to guide the model's output style and format.
repeated .google.cloud.aiplatform.v1.SyntheticExample examples = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<SyntheticExample> |
|
getExamplesOrBuilder(int index)
public abstract SyntheticExampleOrBuilder getExamplesOrBuilder(int index)Optional. A list of few-shot examples to guide the model's output style and format.
repeated .google.cloud.aiplatform.v1.SyntheticExample examples = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SyntheticExampleOrBuilder |
|
getExamplesOrBuilderList()
public abstract List<? extends SyntheticExampleOrBuilder> getExamplesOrBuilderList()Optional. A list of few-shot examples to guide the model's output style and format.
repeated .google.cloud.aiplatform.v1.SyntheticExample examples = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.aiplatform.v1.SyntheticExampleOrBuilder> |
|
getLocation()
public abstract String getLocation() Required. The resource name of the Location to run the job.
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 abstract ByteString getLocationBytes() Required. The resource name of the Location to run the job.
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. |
getOutputFieldSpecs(int index)
public abstract OutputFieldSpec getOutputFieldSpecs(int index)Required. The schema of the desired output, defined by a list of fields.
repeated .google.cloud.aiplatform.v1.OutputFieldSpec output_field_specs = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
OutputFieldSpec |
|
getOutputFieldSpecsCount()
public abstract int getOutputFieldSpecsCount()Required. The schema of the desired output, defined by a list of fields.
repeated .google.cloud.aiplatform.v1.OutputFieldSpec output_field_specs = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
|
getOutputFieldSpecsList()
public abstract List<OutputFieldSpec> getOutputFieldSpecsList()Required. The schema of the desired output, defined by a list of fields.
repeated .google.cloud.aiplatform.v1.OutputFieldSpec output_field_specs = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<OutputFieldSpec> |
|
getOutputFieldSpecsOrBuilder(int index)
public abstract OutputFieldSpecOrBuilder getOutputFieldSpecsOrBuilder(int index)Required. The schema of the desired output, defined by a list of fields.
repeated .google.cloud.aiplatform.v1.OutputFieldSpec output_field_specs = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
OutputFieldSpecOrBuilder |
|
getOutputFieldSpecsOrBuilderList()
public abstract List<? extends OutputFieldSpecOrBuilder> getOutputFieldSpecsOrBuilderList()Required. The schema of the desired output, defined by a list of fields.
repeated .google.cloud.aiplatform.v1.OutputFieldSpec output_field_specs = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.aiplatform.v1.OutputFieldSpecOrBuilder> |
|
getStrategyCase()
public abstract GenerateSyntheticDataRequest.StrategyCase getStrategyCase()| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.StrategyCase |
|
getTaskDescription()
public abstract TaskDescriptionStrategy getTaskDescription()Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3;
| Returns | |
|---|---|
| Type | Description |
TaskDescriptionStrategy |
The taskDescription. |
getTaskDescriptionOrBuilder()
public abstract TaskDescriptionStrategyOrBuilder getTaskDescriptionOrBuilder()Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3;
| Returns | |
|---|---|
| Type | Description |
TaskDescriptionStrategyOrBuilder |
|
hasTaskDescription()
public abstract boolean hasTaskDescription()Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the taskDescription field is set. |