Package com.google.cloud.aiplatform.v1
Interface GenerateSyntheticDataRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GenerateSyntheticDataRequest,GenerateSyntheticDataRequest.Builder
@Generated
public interface GenerateSyntheticDataRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintgetCount()Required.getExamples(int index) Optional.intOptional.Optional.getExamplesOrBuilder(int index) Optional.List<? extends SyntheticExampleOrBuilder>Optional.Required.com.google.protobuf.ByteStringRequired.getOutputFieldSpecs(int index) 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.booleanGenerate data from a high-level task description.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasTaskDescription
boolean hasTaskDescription()Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3;- Returns:
- Whether the taskDescription field is set.
-
getTaskDescription
TaskDescriptionStrategy getTaskDescription()Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3;- Returns:
- The taskDescription.
-
getTaskDescriptionOrBuilder
TaskDescriptionStrategyOrBuilder getTaskDescriptionOrBuilder()Generate data from a high-level task description.
.google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3; -
getLocation
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:
- The location.
-
getLocationBytes
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) = { ... }- Returns:
- The bytes for location.
-
getCount
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:
- The count.
-
getOutputFieldSpecsList
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]; -
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]; -
getOutputFieldSpecsCount
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]; -
getOutputFieldSpecsOrBuilderList
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]; -
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]; -
getExamplesList
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]; -
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]; -
getExamplesCount
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]; -
getExamplesOrBuilderList
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]; -
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]; -
getStrategyCase
GenerateSyntheticDataRequest.StrategyCase getStrategyCase()
-