Class ListOptimalTrialsResponse.Builder (2.4.0)

public static final class ListOptimalTrialsResponse.Builder extends GeneratedMessageV3.Builder<ListOptimalTrialsResponse.Builder> implements ListOptimalTrialsResponseOrBuilder

Response message for VizierService.ListOptimalTrials.

Protobuf type google.cloud.aiplatform.v1.ListOptimalTrialsResponse

Methods

addAllOptimalTrials(Iterable<? extends Trial> values)

public ListOptimalTrialsResponse.Builder addAllOptimalTrials(Iterable<? extends Trial> values)

The pareto-optimal Trials for multiple objective Study or the optimal trial for single objective Study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency

repeated .google.cloud.aiplatform.v1.Trial optimal_trials = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.Trial>
Returns
TypeDescription
ListOptimalTrialsResponse.Builder

addOptimalTrials(Trial value)

public ListOptimalTrialsResponse.Builder addOptimalTrials(Trial value)

The pareto-optimal Trials for multiple objective Study or the optimal trial for single objective Study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency

repeated .google.cloud.aiplatform.v1.Trial optimal_trials = 1;

Parameter
NameDescription
valueTrial
Returns
TypeDescription
ListOptimalTrialsResponse.Builder

addOptimalTrials(Trial.Builder builderForValue)

public ListOptimalTrialsResponse.Builder addOptimalTrials(Trial.Builder builderForValue)

The pareto-optimal Trials for multiple objective Study or the optimal trial for single objective Study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency

repeated .google.cloud.aiplatform.v1.Trial optimal_trials = 1;

Parameter
NameDescription
builderForValueTrial.Builder
Returns
TypeDescription
ListOptimalTrialsResponse.Builder

addOptimalTrials(int index, Trial value)

public ListOptimalTrialsResponse.Builder addOptimalTrials(int index, Trial value)

The pareto-optimal Trials for multiple objective Study or the optimal trial for single objective Study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency

repeated .google.cloud.aiplatform.v1.Trial optimal_trials = 1;

Parameters
NameDescription
indexint
valueTrial
Returns
TypeDescription
ListOptimalTrialsResponse.Builder

addOptimalTrials(int index, Trial.Builder builderForValue)

public ListOptimalTrialsResponse.Builder addOptimalTrials(int index, Trial.Builder builderForValue)

The pareto-optimal Trials for multiple objective Study or the optimal trial for single objective Study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency

repeated .google.cloud.aiplatform.v1.Trial optimal_trials = 1;

Parameters
NameDescription
indexint
builderForValueTrial.Builder
Returns
TypeDescription
ListOptimalTrialsResponse.Builder

addOptimalTrialsBuilder()

public Trial.Builder addOptimalTrialsBuilder()

The pareto-optimal Trials for multiple objective Study or the optimal trial for single objective Study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency

repeated .google.cloud.aiplatform.v1.Trial optimal_trials = 1;

Returns
TypeDescription
Trial.Builder

addOptimalTrialsBuilder(int index)

public Trial.Builder addOptimalTrialsBuilder(int index)

The pareto-optimal Trials for multiple objective Study or the optimal trial for single objective Study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency

repeated .google.cloud.aiplatform.v1.Trial optimal_trials = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Trial.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListOptimalTrialsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListOptimalTrialsResponse.Builder
Overrides

build()

public ListOptimalTrialsResponse build()
Returns
TypeDescription
ListOptimalTrialsResponse

buildPartial()

public ListOptimalTrialsResponse buildPartial()
Returns
TypeDescription
ListOptimalTrialsResponse

clear()

public ListOptimalTrialsResponse.Builder clear()
Returns
TypeDescription
ListOptimalTrialsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListOptimalTrialsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListOptimalTrialsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListOptimalTrialsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListOptimalTrialsResponse.Builder
Overrides

clearOptimalTrials()

public ListOptimalTrialsResponse.Builder clearOptimalTrials()

The pareto-optimal Trials for multiple objective Study or the optimal trial for single objective Study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency

repeated .google.cloud.aiplatform.v1.Trial optimal_trials = 1;

Returns
TypeDescription
ListOptimalTrialsResponse.Builder

clone()

public ListOptimalTrialsResponse.Builder clone()
Returns
TypeDescription
ListOptimalTrialsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListOptimalTrialsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListOptimalTrialsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOptimalTrials(int index)

public Trial getOptimalTrials(int index)

The pareto-optimal Trials for multiple objective Study or the optimal trial for single objective Study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency

repeated .google.cloud.aiplatform.v1.Trial optimal_trials = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Trial

getOptimalTrialsBuilder(int index)

public Trial.Builder getOptimalTrialsBuilder(int index)

The pareto-optimal Trials for multiple objective Study or the optimal trial for single objective Study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency

repeated .google.cloud.aiplatform.v1.Trial optimal_trials = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Trial.Builder

getOptimalTrialsBuilderList()

public List<Trial.Builder> getOptimalTrialsBuilderList()

The pareto-optimal Trials for multiple objective Study or the optimal trial for single objective Study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency

repeated .google.cloud.aiplatform.v1.Trial optimal_trials = 1;

Returns
TypeDescription
List<Builder>

getOptimalTrialsCount()

public int getOptimalTrialsCount()

The pareto-optimal Trials for multiple objective Study or the optimal trial for single objective Study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency

repeated .google.cloud.aiplatform.v1.Trial optimal_trials = 1;

Returns
TypeDescription
int

getOptimalTrialsList()

public List<Trial> getOptimalTrialsList()

The pareto-optimal Trials for multiple objective Study or the optimal trial for single objective Study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency

repeated .google.cloud.aiplatform.v1.Trial optimal_trials = 1;

Returns
TypeDescription
List<Trial>

getOptimalTrialsOrBuilder(int index)

public TrialOrBuilder getOptimalTrialsOrBuilder(int index)

The pareto-optimal Trials for multiple objective Study or the optimal trial for single objective Study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency

repeated .google.cloud.aiplatform.v1.Trial optimal_trials = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TrialOrBuilder

getOptimalTrialsOrBuilderList()

public List<? extends TrialOrBuilder> getOptimalTrialsOrBuilderList()

The pareto-optimal Trials for multiple objective Study or the optimal trial for single objective Study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency

repeated .google.cloud.aiplatform.v1.Trial optimal_trials = 1;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1.TrialOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListOptimalTrialsResponse other)

public ListOptimalTrialsResponse.Builder mergeFrom(ListOptimalTrialsResponse other)
Parameter
NameDescription
otherListOptimalTrialsResponse
Returns
TypeDescription
ListOptimalTrialsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListOptimalTrialsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListOptimalTrialsResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListOptimalTrialsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListOptimalTrialsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListOptimalTrialsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListOptimalTrialsResponse.Builder
Overrides

removeOptimalTrials(int index)

public ListOptimalTrialsResponse.Builder removeOptimalTrials(int index)

The pareto-optimal Trials for multiple objective Study or the optimal trial for single objective Study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency

repeated .google.cloud.aiplatform.v1.Trial optimal_trials = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListOptimalTrialsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListOptimalTrialsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListOptimalTrialsResponse.Builder
Overrides

setOptimalTrials(int index, Trial value)

public ListOptimalTrialsResponse.Builder setOptimalTrials(int index, Trial value)

The pareto-optimal Trials for multiple objective Study or the optimal trial for single objective Study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency

repeated .google.cloud.aiplatform.v1.Trial optimal_trials = 1;

Parameters
NameDescription
indexint
valueTrial
Returns
TypeDescription
ListOptimalTrialsResponse.Builder

setOptimalTrials(int index, Trial.Builder builderForValue)

public ListOptimalTrialsResponse.Builder setOptimalTrials(int index, Trial.Builder builderForValue)

The pareto-optimal Trials for multiple objective Study or the optimal trial for single objective Study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency

repeated .google.cloud.aiplatform.v1.Trial optimal_trials = 1;

Parameters
NameDescription
indexint
builderForValueTrial.Builder
Returns
TypeDescription
ListOptimalTrialsResponse.Builder

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

public ListOptimalTrialsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListOptimalTrialsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListOptimalTrialsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListOptimalTrialsResponse.Builder
Overrides