Class SuggestTrialsResponse.Builder (3.45.0)

public static final class SuggestTrialsResponse.Builder extends GeneratedMessageV3.Builder<SuggestTrialsResponse.Builder> implements SuggestTrialsResponseOrBuilder

Response message for VizierService.SuggestTrials.

Protobuf type google.cloud.aiplatform.v1beta1.SuggestTrialsResponse

Static Methods

getDescriptor()

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

Methods

addAllTrials(Iterable<? extends Trial> values)

public SuggestTrialsResponse.Builder addAllTrials(Iterable<? extends Trial> values)

A list of Trials.

repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.Trial>
Returns
Type Description
SuggestTrialsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTrials(Trial value)

public SuggestTrialsResponse.Builder addTrials(Trial value)

A list of Trials.

repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;

Parameter
Name Description
value Trial
Returns
Type Description
SuggestTrialsResponse.Builder

addTrials(Trial.Builder builderForValue)

public SuggestTrialsResponse.Builder addTrials(Trial.Builder builderForValue)

A list of Trials.

repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;

Parameter
Name Description
builderForValue Trial.Builder
Returns
Type Description
SuggestTrialsResponse.Builder

addTrials(int index, Trial value)

public SuggestTrialsResponse.Builder addTrials(int index, Trial value)

A list of Trials.

repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;

Parameters
Name Description
index int
value Trial
Returns
Type Description
SuggestTrialsResponse.Builder

addTrials(int index, Trial.Builder builderForValue)

public SuggestTrialsResponse.Builder addTrials(int index, Trial.Builder builderForValue)

A list of Trials.

repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;

Parameters
Name Description
index int
builderForValue Trial.Builder
Returns
Type Description
SuggestTrialsResponse.Builder

addTrialsBuilder()

public Trial.Builder addTrialsBuilder()

A list of Trials.

repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;

Returns
Type Description
Trial.Builder

addTrialsBuilder(int index)

public Trial.Builder addTrialsBuilder(int index)

A list of Trials.

repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;

Parameter
Name Description
index int
Returns
Type Description
Trial.Builder

build()

public SuggestTrialsResponse build()
Returns
Type Description
SuggestTrialsResponse

buildPartial()

public SuggestTrialsResponse buildPartial()
Returns
Type Description
SuggestTrialsResponse

clear()

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

clearEndTime()

public SuggestTrialsResponse.Builder clearEndTime()

The time at which operation processing completed.

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
SuggestTrialsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStartTime()

public SuggestTrialsResponse.Builder clearStartTime()

The time at which the operation was started.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
SuggestTrialsResponse.Builder

clearStudyState()

public SuggestTrialsResponse.Builder clearStudyState()

The state of the Study.

.google.cloud.aiplatform.v1beta1.Study.State study_state = 2;

Returns
Type Description
SuggestTrialsResponse.Builder

This builder for chaining.

clearTrials()

public SuggestTrialsResponse.Builder clearTrials()

A list of Trials.

repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;

Returns
Type Description
SuggestTrialsResponse.Builder

clone()

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

getDefaultInstanceForType()

public SuggestTrialsResponse getDefaultInstanceForType()
Returns
Type Description
SuggestTrialsResponse

getDescriptorForType()

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

getEndTime()

public Timestamp getEndTime()

The time at which operation processing completed.

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

The time at which operation processing completed.

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The time at which operation processing completed.

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
TimestampOrBuilder

getStartTime()

public Timestamp getStartTime()

The time at which the operation was started.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The time at which the operation was started.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time at which the operation was started.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
TimestampOrBuilder

getStudyState()

public Study.State getStudyState()

The state of the Study.

.google.cloud.aiplatform.v1beta1.Study.State study_state = 2;

Returns
Type Description
Study.State

The studyState.

getStudyStateValue()

public int getStudyStateValue()

The state of the Study.

.google.cloud.aiplatform.v1beta1.Study.State study_state = 2;

Returns
Type Description
int

The enum numeric value on the wire for studyState.

getTrials(int index)

public Trial getTrials(int index)

A list of Trials.

repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;

Parameter
Name Description
index int
Returns
Type Description
Trial

getTrialsBuilder(int index)

public Trial.Builder getTrialsBuilder(int index)

A list of Trials.

repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;

Parameter
Name Description
index int
Returns
Type Description
Trial.Builder

getTrialsBuilderList()

public List<Trial.Builder> getTrialsBuilderList()

A list of Trials.

repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;

Returns
Type Description
List<Builder>

getTrialsCount()

public int getTrialsCount()

A list of Trials.

repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;

Returns
Type Description
int

getTrialsList()

public List<Trial> getTrialsList()

A list of Trials.

repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;

Returns
Type Description
List<Trial>

getTrialsOrBuilder(int index)

public TrialOrBuilder getTrialsOrBuilder(int index)

A list of Trials.

repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;

Parameter
Name Description
index int
Returns
Type Description
TrialOrBuilder

getTrialsOrBuilderList()

public List<? extends TrialOrBuilder> getTrialsOrBuilderList()

A list of Trials.

repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.TrialOrBuilder>

hasEndTime()

public boolean hasEndTime()

The time at which operation processing completed.

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

The time at which the operation was started.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndTime(Timestamp value)

public SuggestTrialsResponse.Builder mergeEndTime(Timestamp value)

The time at which operation processing completed.

.google.protobuf.Timestamp end_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
SuggestTrialsResponse.Builder

mergeFrom(SuggestTrialsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStartTime(Timestamp value)

public SuggestTrialsResponse.Builder mergeStartTime(Timestamp value)

The time at which the operation was started.

.google.protobuf.Timestamp start_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
SuggestTrialsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTrials(int index)

public SuggestTrialsResponse.Builder removeTrials(int index)

A list of Trials.

repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;

Parameter
Name Description
index int
Returns
Type Description
SuggestTrialsResponse.Builder

setEndTime(Timestamp value)

public SuggestTrialsResponse.Builder setEndTime(Timestamp value)

The time at which operation processing completed.

.google.protobuf.Timestamp end_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
SuggestTrialsResponse.Builder

setEndTime(Timestamp.Builder builderForValue)

public SuggestTrialsResponse.Builder setEndTime(Timestamp.Builder builderForValue)

The time at which operation processing completed.

.google.protobuf.Timestamp end_time = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
SuggestTrialsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStartTime(Timestamp value)

public SuggestTrialsResponse.Builder setStartTime(Timestamp value)

The time at which the operation was started.

.google.protobuf.Timestamp start_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
SuggestTrialsResponse.Builder

setStartTime(Timestamp.Builder builderForValue)

public SuggestTrialsResponse.Builder setStartTime(Timestamp.Builder builderForValue)

The time at which the operation was started.

.google.protobuf.Timestamp start_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
SuggestTrialsResponse.Builder

setStudyState(Study.State value)

public SuggestTrialsResponse.Builder setStudyState(Study.State value)

The state of the Study.

.google.cloud.aiplatform.v1beta1.Study.State study_state = 2;

Parameter
Name Description
value Study.State

The studyState to set.

Returns
Type Description
SuggestTrialsResponse.Builder

This builder for chaining.

setStudyStateValue(int value)

public SuggestTrialsResponse.Builder setStudyStateValue(int value)

The state of the Study.

.google.cloud.aiplatform.v1beta1.Study.State study_state = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for studyState to set.

Returns
Type Description
SuggestTrialsResponse.Builder

This builder for chaining.

setTrials(int index, Trial value)

public SuggestTrialsResponse.Builder setTrials(int index, Trial value)

A list of Trials.

repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;

Parameters
Name Description
index int
value Trial
Returns
Type Description
SuggestTrialsResponse.Builder

setTrials(int index, Trial.Builder builderForValue)

public SuggestTrialsResponse.Builder setTrials(int index, Trial.Builder builderForValue)

A list of Trials.

repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;

Parameters
Name Description
index int
builderForValue Trial.Builder
Returns
Type Description
SuggestTrialsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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