public static final class GenerateSyntheticDataRequest.Builder extends GeneratedMessage.Builder<GenerateSyntheticDataRequest.Builder> implements GenerateSyntheticDataRequestOrBuilderRequest message for DataFoundryService.GenerateSyntheticData.
Protobuf type google.cloud.aiplatform.v1.GenerateSyntheticDataRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GenerateSyntheticDataRequest.BuilderImplements
GenerateSyntheticDataRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllExamples(Iterable<? extends SyntheticExample> values)
public GenerateSyntheticDataRequest.Builder addAllExamples(Iterable<? extends SyntheticExample> values)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 |
values |
Iterable<? extends com.google.cloud.aiplatform.v1.SyntheticExample> |
| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.Builder |
|
addAllOutputFieldSpecs(Iterable<? extends OutputFieldSpec> values)
public GenerateSyntheticDataRequest.Builder addAllOutputFieldSpecs(Iterable<? extends OutputFieldSpec> values)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 |
values |
Iterable<? extends com.google.cloud.aiplatform.v1.OutputFieldSpec> |
| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.Builder |
|
addExamples(SyntheticExample value)
public GenerateSyntheticDataRequest.Builder addExamples(SyntheticExample value)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 |
value |
SyntheticExample |
| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.Builder |
|
addExamples(SyntheticExample.Builder builderForValue)
public GenerateSyntheticDataRequest.Builder addExamples(SyntheticExample.Builder builderForValue)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 |
builderForValue |
SyntheticExample.Builder |
| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.Builder |
|
addExamples(int index, SyntheticExample value)
public GenerateSyntheticDataRequest.Builder addExamples(int index, SyntheticExample value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
SyntheticExample |
| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.Builder |
|
addExamples(int index, SyntheticExample.Builder builderForValue)
public GenerateSyntheticDataRequest.Builder addExamples(int index, SyntheticExample.Builder builderForValue)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
SyntheticExample.Builder |
| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.Builder |
|
addExamplesBuilder()
public SyntheticExample.Builder addExamplesBuilder()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 |
SyntheticExample.Builder |
|
addExamplesBuilder(int index)
public SyntheticExample.Builder addExamplesBuilder(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.Builder |
|
addOutputFieldSpecs(OutputFieldSpec value)
public GenerateSyntheticDataRequest.Builder addOutputFieldSpecs(OutputFieldSpec value)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 |
value |
OutputFieldSpec |
| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.Builder |
|
addOutputFieldSpecs(OutputFieldSpec.Builder builderForValue)
public GenerateSyntheticDataRequest.Builder addOutputFieldSpecs(OutputFieldSpec.Builder builderForValue)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 |
builderForValue |
OutputFieldSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.Builder |
|
addOutputFieldSpecs(int index, OutputFieldSpec value)
public GenerateSyntheticDataRequest.Builder addOutputFieldSpecs(int index, OutputFieldSpec value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
OutputFieldSpec |
| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.Builder |
|
addOutputFieldSpecs(int index, OutputFieldSpec.Builder builderForValue)
public GenerateSyntheticDataRequest.Builder addOutputFieldSpecs(int index, OutputFieldSpec.Builder builderForValue)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
OutputFieldSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.Builder |
|
addOutputFieldSpecsBuilder()
public OutputFieldSpec.Builder addOutputFieldSpecsBuilder()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 |
OutputFieldSpec.Builder |
|
addOutputFieldSpecsBuilder(int index)
public OutputFieldSpec.Builder addOutputFieldSpecsBuilder(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.Builder |
|
build()
public GenerateSyntheticDataRequest build()| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest |
|
buildPartial()
public GenerateSyntheticDataRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest |
|
clear()
public GenerateSyntheticDataRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.Builder |
|
clearCount()
public GenerateSyntheticDataRequest.Builder clearCount()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 |
GenerateSyntheticDataRequest.Builder |
This builder for chaining. |
clearExamples()
public GenerateSyntheticDataRequest.Builder clearExamples()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 |
GenerateSyntheticDataRequest.Builder |
|
clearLocation()
public GenerateSyntheticDataRequest.Builder clearLocation() 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 |
GenerateSyntheticDataRequest.Builder |
This builder for chaining. |
clearOutputFieldSpecs()
public GenerateSyntheticDataRequest.Builder clearOutputFieldSpecs()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 |
GenerateSyntheticDataRequest.Builder |
|
clearStrategy()
public GenerateSyntheticDataRequest.Builder clearStrategy()| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.Builder |
|
clearTaskDescription()
public GenerateSyntheticDataRequest.Builder clearTaskDescription()Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3;
| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.Builder |
|
getCount()
public 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. |
getDefaultInstanceForType()
public GenerateSyntheticDataRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExamples(int index)
public 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 |
|
getExamplesBuilder(int index)
public SyntheticExample.Builder getExamplesBuilder(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.Builder |
|
getExamplesBuilderList()
public List<SyntheticExample.Builder> getExamplesBuilderList()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<Builder> |
|
getExamplesCount()
public 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 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 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 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 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 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 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 |
|
getOutputFieldSpecsBuilder(int index)
public OutputFieldSpec.Builder getOutputFieldSpecsBuilder(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.Builder |
|
getOutputFieldSpecsBuilderList()
public List<OutputFieldSpec.Builder> getOutputFieldSpecsBuilderList()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<Builder> |
|
getOutputFieldSpecsCount()
public 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 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 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 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 GenerateSyntheticDataRequest.StrategyCase getStrategyCase()| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.StrategyCase |
|
getTaskDescription()
public TaskDescriptionStrategy getTaskDescription()Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3;
| Returns | |
|---|---|
| Type | Description |
TaskDescriptionStrategy |
The taskDescription. |
getTaskDescriptionBuilder()
public TaskDescriptionStrategy.Builder getTaskDescriptionBuilder()Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3;
| Returns | |
|---|---|
| Type | Description |
TaskDescriptionStrategy.Builder |
|
getTaskDescriptionOrBuilder()
public TaskDescriptionStrategyOrBuilder getTaskDescriptionOrBuilder()Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3;
| Returns | |
|---|---|
| Type | Description |
TaskDescriptionStrategyOrBuilder |
|
hasTaskDescription()
public 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GenerateSyntheticDataRequest other)
public GenerateSyntheticDataRequest.Builder mergeFrom(GenerateSyntheticDataRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GenerateSyntheticDataRequest |
| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerateSyntheticDataRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GenerateSyntheticDataRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.Builder |
|
mergeTaskDescription(TaskDescriptionStrategy value)
public GenerateSyntheticDataRequest.Builder mergeTaskDescription(TaskDescriptionStrategy value)Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
TaskDescriptionStrategy |
| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.Builder |
|
removeExamples(int index)
public GenerateSyntheticDataRequest.Builder removeExamples(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 |
GenerateSyntheticDataRequest.Builder |
|
removeOutputFieldSpecs(int index)
public GenerateSyntheticDataRequest.Builder removeOutputFieldSpecs(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 |
GenerateSyntheticDataRequest.Builder |
|
setCount(int value)
public GenerateSyntheticDataRequest.Builder setCount(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe count to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.Builder |
This builder for chaining. |
setExamples(int index, SyntheticExample value)
public GenerateSyntheticDataRequest.Builder setExamples(int index, SyntheticExample value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
SyntheticExample |
| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.Builder |
|
setExamples(int index, SyntheticExample.Builder builderForValue)
public GenerateSyntheticDataRequest.Builder setExamples(int index, SyntheticExample.Builder builderForValue)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
SyntheticExample.Builder |
| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.Builder |
|
setLocation(String value)
public GenerateSyntheticDataRequest.Builder setLocation(String value) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe location to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.Builder |
This builder for chaining. |
setLocationBytes(ByteString value)
public GenerateSyntheticDataRequest.Builder setLocationBytes(ByteString value) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for location to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.Builder |
This builder for chaining. |
setOutputFieldSpecs(int index, OutputFieldSpec value)
public GenerateSyntheticDataRequest.Builder setOutputFieldSpecs(int index, OutputFieldSpec value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
OutputFieldSpec |
| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.Builder |
|
setOutputFieldSpecs(int index, OutputFieldSpec.Builder builderForValue)
public GenerateSyntheticDataRequest.Builder setOutputFieldSpecs(int index, OutputFieldSpec.Builder builderForValue)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
OutputFieldSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.Builder |
|
setTaskDescription(TaskDescriptionStrategy value)
public GenerateSyntheticDataRequest.Builder setTaskDescription(TaskDescriptionStrategy value)Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
TaskDescriptionStrategy |
| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.Builder |
|
setTaskDescription(TaskDescriptionStrategy.Builder builderForValue)
public GenerateSyntheticDataRequest.Builder setTaskDescription(TaskDescriptionStrategy.Builder builderForValue)Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
TaskDescriptionStrategy.Builder |
| Returns | |
|---|---|
| Type | Description |
GenerateSyntheticDataRequest.Builder |
|