public static final class GenerateSyntheticDataRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<GenerateSyntheticDataRequest.Builder> implements GenerateSyntheticDataRequestOrBuilder
Request message for DataFoundryService.GenerateSyntheticData.Protobuf type
google.cloud.aiplatform.v1.GenerateSyntheticDataRequestaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<GenerateSyntheticDataRequest.Builder>public GenerateSyntheticDataRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<GenerateSyntheticDataRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<GenerateSyntheticDataRequest.Builder>public GenerateSyntheticDataRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GenerateSyntheticDataRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GenerateSyntheticDataRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GenerateSyntheticDataRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GenerateSyntheticDataRequest.Builder>public GenerateSyntheticDataRequest.Builder mergeFrom(GenerateSyntheticDataRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<GenerateSyntheticDataRequest.Builder>public GenerateSyntheticDataRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GenerateSyntheticDataRequest.Builder>IOExceptionpublic GenerateSyntheticDataRequest.StrategyCase getStrategyCase()
getStrategyCase in interface GenerateSyntheticDataRequestOrBuilderpublic GenerateSyntheticDataRequest.Builder clearStrategy()
public boolean hasTaskDescription()
Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3;hasTaskDescription in interface GenerateSyntheticDataRequestOrBuilderpublic TaskDescriptionStrategy getTaskDescription()
Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3;getTaskDescription in interface GenerateSyntheticDataRequestOrBuilderpublic GenerateSyntheticDataRequest.Builder setTaskDescription(TaskDescriptionStrategy value)
Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3;public GenerateSyntheticDataRequest.Builder setTaskDescription(TaskDescriptionStrategy.Builder builderForValue)
Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3;public GenerateSyntheticDataRequest.Builder mergeTaskDescription(TaskDescriptionStrategy value)
Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3;public GenerateSyntheticDataRequest.Builder clearTaskDescription()
Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3;public TaskDescriptionStrategy.Builder getTaskDescriptionBuilder()
Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3;public TaskDescriptionStrategyOrBuilder getTaskDescriptionOrBuilder()
Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3;getTaskDescriptionOrBuilder in interface GenerateSyntheticDataRequestOrBuilderpublic 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) = { ... }
getLocation in interface GenerateSyntheticDataRequestOrBuilderpublic com.google.protobuf.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) = { ... }
getLocationBytes in interface GenerateSyntheticDataRequestOrBuilderpublic 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) = { ... }
value - The location to set.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) = { ... }
public GenerateSyntheticDataRequest.Builder setLocationBytes(com.google.protobuf.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) = { ... }
value - The bytes for location to set.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];getCount in interface GenerateSyntheticDataRequestOrBuilderpublic 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];value - The count to set.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];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];
getOutputFieldSpecsList in interface GenerateSyntheticDataRequestOrBuilderpublic 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];
getOutputFieldSpecsCount in interface GenerateSyntheticDataRequestOrBuilderpublic 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];
getOutputFieldSpecs in interface GenerateSyntheticDataRequestOrBuilderpublic 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];
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];
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];
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];
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];
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];
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];
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];
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];
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];
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];
getOutputFieldSpecsOrBuilder in interface GenerateSyntheticDataRequestOrBuilderpublic 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];
getOutputFieldSpecsOrBuilderList in interface GenerateSyntheticDataRequestOrBuilderpublic 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];
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];
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];
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];
getExamplesList in interface GenerateSyntheticDataRequestOrBuilderpublic 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];
getExamplesCount in interface GenerateSyntheticDataRequestOrBuilderpublic 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];
getExamples in interface GenerateSyntheticDataRequestOrBuilderpublic 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];
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];
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];
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];
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];
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];
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];
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];
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];
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];
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];
getExamplesOrBuilder in interface GenerateSyntheticDataRequestOrBuilderpublic 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];
getExamplesOrBuilderList in interface GenerateSyntheticDataRequestOrBuilderpublic 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];
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];
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];
Copyright © 2026 Google LLC. All rights reserved.