Package com.google.cloud.aiplatform.v1
Class GenerateSyntheticDataRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GenerateSyntheticDataRequest.Builder>
com.google.cloud.aiplatform.v1.GenerateSyntheticDataRequest.Builder
- All Implemented Interfaces:
GenerateSyntheticDataRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GenerateSyntheticDataRequest
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.GenerateSyntheticDataRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllExamples(Iterable<? extends SyntheticExample> values) Optional.addAllOutputFieldSpecs(Iterable<? extends OutputFieldSpec> values) Required.addExamples(int index, SyntheticExample value) Optional.addExamples(int index, SyntheticExample.Builder builderForValue) Optional.addExamples(SyntheticExample value) Optional.addExamples(SyntheticExample.Builder builderForValue) Optional.Optional.addExamplesBuilder(int index) Optional.addOutputFieldSpecs(int index, OutputFieldSpec value) Required.addOutputFieldSpecs(int index, OutputFieldSpec.Builder builderForValue) Required.Required.addOutputFieldSpecs(OutputFieldSpec.Builder builderForValue) Required.Required.addOutputFieldSpecsBuilder(int index) Required.build()clear()Required.Optional.Required.Required.Generate data from a high-level task description.intgetCount()Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetExamples(int index) Optional.getExamplesBuilder(int index) Optional.Optional.intOptional.Optional.getExamplesOrBuilder(int index) Optional.List<? extends SyntheticExampleOrBuilder>Optional.Required.com.google.protobuf.ByteStringRequired.getOutputFieldSpecs(int index) Required.getOutputFieldSpecsBuilder(int index) Required.Required.intRequired.Required.getOutputFieldSpecsOrBuilder(int index) Required.List<? extends OutputFieldSpecOrBuilder>Required.Generate data from a high-level task description.Generate data from a high-level task description.Generate data from a high-level task description.booleanGenerate data from a high-level task description.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Generate data from a high-level task description.removeExamples(int index) Optional.removeOutputFieldSpecs(int index) Required.setCount(int value) Required.setExamples(int index, SyntheticExample value) Optional.setExamples(int index, SyntheticExample.Builder builderForValue) Optional.setLocation(String value) Required.setLocationBytes(com.google.protobuf.ByteString value) Required.setOutputFieldSpecs(int index, OutputFieldSpec value) Required.setOutputFieldSpecs(int index, OutputFieldSpec.Builder builderForValue) Required.Generate data from a high-level task description.setTaskDescription(TaskDescriptionStrategy.Builder builderForValue) Generate data from a high-level task description.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, 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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<GenerateSyntheticDataRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<GenerateSyntheticDataRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<GenerateSyntheticDataRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GenerateSyntheticDataRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GenerateSyntheticDataRequest.Builder>
-
mergeFrom
public GenerateSyntheticDataRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GenerateSyntheticDataRequest.Builder>- Throws:
IOException
-
getStrategyCase
- Specified by:
getStrategyCasein interfaceGenerateSyntheticDataRequestOrBuilder
-
clearStrategy
-
hasTaskDescription
public boolean hasTaskDescription()Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3;- Specified by:
hasTaskDescriptionin interfaceGenerateSyntheticDataRequestOrBuilder- Returns:
- Whether the taskDescription field is set.
-
getTaskDescription
Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3;- Specified by:
getTaskDescriptionin interfaceGenerateSyntheticDataRequestOrBuilder- Returns:
- The taskDescription.
-
setTaskDescription
Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3; -
setTaskDescription
public GenerateSyntheticDataRequest.Builder setTaskDescription(TaskDescriptionStrategy.Builder builderForValue) Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3; -
mergeTaskDescription
Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3; -
clearTaskDescription
Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3; -
getTaskDescriptionBuilder
Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3; -
getTaskDescriptionOrBuilder
Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3;- Specified by:
getTaskDescriptionOrBuilderin interfaceGenerateSyntheticDataRequestOrBuilder
-
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) = { ... }- Specified by:
getLocationin interfaceGenerateSyntheticDataRequestOrBuilder- Returns:
- The location.
-
getLocationBytes
public 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) = { ... }- Specified by:
getLocationBytesin interfaceGenerateSyntheticDataRequestOrBuilder- Returns:
- The bytes for location.
-
setLocation
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) = { ... }- Parameters:
value- The location to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setLocationBytes
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) = { ... }- Parameters:
value- The bytes for location to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getCountin interfaceGenerateSyntheticDataRequestOrBuilder- Returns:
- The count.
-
setCount
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];- Parameters:
value- The count to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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];- Specified by:
getOutputFieldSpecsListin interfaceGenerateSyntheticDataRequestOrBuilder
-
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];- Specified by:
getOutputFieldSpecsCountin interfaceGenerateSyntheticDataRequestOrBuilder
-
getOutputFieldSpecs
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];- Specified by:
getOutputFieldSpecsin interfaceGenerateSyntheticDataRequestOrBuilder
-
setOutputFieldSpecs
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]; -
setOutputFieldSpecs
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]; -
addOutputFieldSpecs
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]; -
addOutputFieldSpecs
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]; -
addOutputFieldSpecs
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]; -
addOutputFieldSpecs
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]; -
addAllOutputFieldSpecs
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]; -
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]; -
removeOutputFieldSpecs
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]; -
getOutputFieldSpecsBuilder
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
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];- Specified by:
getOutputFieldSpecsOrBuilderin interfaceGenerateSyntheticDataRequestOrBuilder
-
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];- Specified by:
getOutputFieldSpecsOrBuilderListin interfaceGenerateSyntheticDataRequestOrBuilder
-
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]; -
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]; -
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]; -
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];- Specified by:
getExamplesListin interfaceGenerateSyntheticDataRequestOrBuilder
-
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];- Specified by:
getExamplesCountin interfaceGenerateSyntheticDataRequestOrBuilder
-
getExamples
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];- Specified by:
getExamplesin interfaceGenerateSyntheticDataRequestOrBuilder
-
setExamples
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]; -
setExamples
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]; -
addExamples
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]; -
addExamples
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]; -
addExamples
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]; -
addExamples
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]; -
addAllExamples
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]; -
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]; -
removeExamples
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]; -
getExamplesBuilder
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
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];- Specified by:
getExamplesOrBuilderin interfaceGenerateSyntheticDataRequestOrBuilder
-
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];- Specified by:
getExamplesOrBuilderListin interfaceGenerateSyntheticDataRequestOrBuilder
-
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]; -
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]; -
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];
-