- 3.79.0 (latest)
- 3.77.0
- 3.76.0
- 3.75.0
- 3.74.0
- 3.73.0
- 3.71.0
- 3.69.0
- 3.68.0
- 3.65.0
- 3.64.0
- 3.63.0
- 3.61.0
- 3.60.0
- 3.59.0
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class GenerateSyntheticDataRequest.Builder extends GeneratedMessageV3.Builder<GenerateSyntheticDataRequest.Builder> implements GenerateSyntheticDataRequestOrBuilderRequest message for DataFoundryService.GenerateSyntheticData.
 Protobuf type google.cloud.aiplatform.v1.GenerateSyntheticDataRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.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 | |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateSyntheticDataRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| GenerateSyntheticDataRequest.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 | |
clearField(Descriptors.FieldDescriptor field)
public GenerateSyntheticDataRequest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| 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. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateSyntheticDataRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| GenerateSyntheticDataRequest.Builder | |
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 | |
clone()
public GenerateSyntheticDataRequest.Builder clone()| 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 GeneratedMessageV3.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 | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerateSyntheticDataRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| 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 | |
setField(Descriptors.FieldDescriptor field, Object value)
public GenerateSyntheticDataRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| 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 | |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerateSyntheticDataRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| 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 | |
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerateSyntheticDataRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| GenerateSyntheticDataRequest.Builder | |