Class GenerateSyntheticDataResponse.Builder (3.74.0)

public static final class GenerateSyntheticDataResponse.Builder extends GeneratedMessageV3.Builder<GenerateSyntheticDataResponse.Builder> implements GenerateSyntheticDataResponseOrBuilder

The response containing the generated data.

Protobuf type google.cloud.aiplatform.v1.GenerateSyntheticDataResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllSyntheticExamples(Iterable<? extends SyntheticExample> values)

public GenerateSyntheticDataResponse.Builder addAllSyntheticExamples(Iterable<? extends SyntheticExample> values)

A list of generated synthetic examples.

repeated .google.cloud.aiplatform.v1.SyntheticExample synthetic_examples = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1.SyntheticExample>
Returns
Type Description
GenerateSyntheticDataResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GenerateSyntheticDataResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GenerateSyntheticDataResponse.Builder
Overrides

addSyntheticExamples(SyntheticExample value)

public GenerateSyntheticDataResponse.Builder addSyntheticExamples(SyntheticExample value)

A list of generated synthetic examples.

repeated .google.cloud.aiplatform.v1.SyntheticExample synthetic_examples = 1;

Parameter
Name Description
value SyntheticExample
Returns
Type Description
GenerateSyntheticDataResponse.Builder

addSyntheticExamples(SyntheticExample.Builder builderForValue)

public GenerateSyntheticDataResponse.Builder addSyntheticExamples(SyntheticExample.Builder builderForValue)

A list of generated synthetic examples.

repeated .google.cloud.aiplatform.v1.SyntheticExample synthetic_examples = 1;

Parameter
Name Description
builderForValue SyntheticExample.Builder
Returns
Type Description
GenerateSyntheticDataResponse.Builder

addSyntheticExamples(int index, SyntheticExample value)

public GenerateSyntheticDataResponse.Builder addSyntheticExamples(int index, SyntheticExample value)

A list of generated synthetic examples.

repeated .google.cloud.aiplatform.v1.SyntheticExample synthetic_examples = 1;

Parameters
Name Description
index int
value SyntheticExample
Returns
Type Description
GenerateSyntheticDataResponse.Builder

addSyntheticExamples(int index, SyntheticExample.Builder builderForValue)

public GenerateSyntheticDataResponse.Builder addSyntheticExamples(int index, SyntheticExample.Builder builderForValue)

A list of generated synthetic examples.

repeated .google.cloud.aiplatform.v1.SyntheticExample synthetic_examples = 1;

Parameters
Name Description
index int
builderForValue SyntheticExample.Builder
Returns
Type Description
GenerateSyntheticDataResponse.Builder

addSyntheticExamplesBuilder()

public SyntheticExample.Builder addSyntheticExamplesBuilder()

A list of generated synthetic examples.

repeated .google.cloud.aiplatform.v1.SyntheticExample synthetic_examples = 1;

Returns
Type Description
SyntheticExample.Builder

addSyntheticExamplesBuilder(int index)

public SyntheticExample.Builder addSyntheticExamplesBuilder(int index)

A list of generated synthetic examples.

repeated .google.cloud.aiplatform.v1.SyntheticExample synthetic_examples = 1;

Parameter
Name Description
index int
Returns
Type Description
SyntheticExample.Builder

build()

public GenerateSyntheticDataResponse build()
Returns
Type Description
GenerateSyntheticDataResponse

buildPartial()

public GenerateSyntheticDataResponse buildPartial()
Returns
Type Description
GenerateSyntheticDataResponse

clear()

public GenerateSyntheticDataResponse.Builder clear()
Returns
Type Description
GenerateSyntheticDataResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GenerateSyntheticDataResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GenerateSyntheticDataResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GenerateSyntheticDataResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GenerateSyntheticDataResponse.Builder
Overrides

clearSyntheticExamples()

public GenerateSyntheticDataResponse.Builder clearSyntheticExamples()

A list of generated synthetic examples.

repeated .google.cloud.aiplatform.v1.SyntheticExample synthetic_examples = 1;

Returns
Type Description
GenerateSyntheticDataResponse.Builder

clone()

public GenerateSyntheticDataResponse.Builder clone()
Returns
Type Description
GenerateSyntheticDataResponse.Builder
Overrides

getDefaultInstanceForType()

public GenerateSyntheticDataResponse getDefaultInstanceForType()
Returns
Type Description
GenerateSyntheticDataResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSyntheticExamples(int index)

public SyntheticExample getSyntheticExamples(int index)

A list of generated synthetic examples.

repeated .google.cloud.aiplatform.v1.SyntheticExample synthetic_examples = 1;

Parameter
Name Description
index int
Returns
Type Description
SyntheticExample

getSyntheticExamplesBuilder(int index)

public SyntheticExample.Builder getSyntheticExamplesBuilder(int index)

A list of generated synthetic examples.

repeated .google.cloud.aiplatform.v1.SyntheticExample synthetic_examples = 1;

Parameter
Name Description
index int
Returns
Type Description
SyntheticExample.Builder

getSyntheticExamplesBuilderList()

public List<SyntheticExample.Builder> getSyntheticExamplesBuilderList()

A list of generated synthetic examples.

repeated .google.cloud.aiplatform.v1.SyntheticExample synthetic_examples = 1;

Returns
Type Description
List<Builder>

getSyntheticExamplesCount()

public int getSyntheticExamplesCount()

A list of generated synthetic examples.

repeated .google.cloud.aiplatform.v1.SyntheticExample synthetic_examples = 1;

Returns
Type Description
int

getSyntheticExamplesList()

public List<SyntheticExample> getSyntheticExamplesList()

A list of generated synthetic examples.

repeated .google.cloud.aiplatform.v1.SyntheticExample synthetic_examples = 1;

Returns
Type Description
List<SyntheticExample>

getSyntheticExamplesOrBuilder(int index)

public SyntheticExampleOrBuilder getSyntheticExamplesOrBuilder(int index)

A list of generated synthetic examples.

repeated .google.cloud.aiplatform.v1.SyntheticExample synthetic_examples = 1;

Parameter
Name Description
index int
Returns
Type Description
SyntheticExampleOrBuilder

getSyntheticExamplesOrBuilderList()

public List<? extends SyntheticExampleOrBuilder> getSyntheticExamplesOrBuilderList()

A list of generated synthetic examples.

repeated .google.cloud.aiplatform.v1.SyntheticExample synthetic_examples = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.SyntheticExampleOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GenerateSyntheticDataResponse other)

public GenerateSyntheticDataResponse.Builder mergeFrom(GenerateSyntheticDataResponse other)
Parameter
Name Description
other GenerateSyntheticDataResponse
Returns
Type Description
GenerateSyntheticDataResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GenerateSyntheticDataResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateSyntheticDataResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GenerateSyntheticDataResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GenerateSyntheticDataResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GenerateSyntheticDataResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GenerateSyntheticDataResponse.Builder
Overrides

removeSyntheticExamples(int index)

public GenerateSyntheticDataResponse.Builder removeSyntheticExamples(int index)

A list of generated synthetic examples.

repeated .google.cloud.aiplatform.v1.SyntheticExample synthetic_examples = 1;

Parameter
Name Description
index int
Returns
Type Description
GenerateSyntheticDataResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public GenerateSyntheticDataResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GenerateSyntheticDataResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GenerateSyntheticDataResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GenerateSyntheticDataResponse.Builder
Overrides

setSyntheticExamples(int index, SyntheticExample value)

public GenerateSyntheticDataResponse.Builder setSyntheticExamples(int index, SyntheticExample value)

A list of generated synthetic examples.

repeated .google.cloud.aiplatform.v1.SyntheticExample synthetic_examples = 1;

Parameters
Name Description
index int
value SyntheticExample
Returns
Type Description
GenerateSyntheticDataResponse.Builder

setSyntheticExamples(int index, SyntheticExample.Builder builderForValue)

public GenerateSyntheticDataResponse.Builder setSyntheticExamples(int index, SyntheticExample.Builder builderForValue)

A list of generated synthetic examples.

repeated .google.cloud.aiplatform.v1.SyntheticExample synthetic_examples = 1;

Parameters
Name Description
index int
builderForValue SyntheticExample.Builder
Returns
Type Description
GenerateSyntheticDataResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final GenerateSyntheticDataResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GenerateSyntheticDataResponse.Builder
Overrides