Class SuggestTrialsResponse.Builder (3.16.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.Trial>
Returns
TypeDescription
SuggestTrialsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SuggestTrialsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTrial
Returns
TypeDescription
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
NameDescription
builderForValueTrial.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueTrial
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTrial.Builder
Returns
TypeDescription
SuggestTrialsResponse.Builder

addTrialsBuilder()

public Trial.Builder addTrialsBuilder()

A list of Trials.

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

Returns
TypeDescription
Trial.Builder

addTrialsBuilder(int index)

public Trial.Builder addTrialsBuilder(int index)

A list of Trials.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Trial.Builder

build()

public SuggestTrialsResponse build()
Returns
TypeDescription
SuggestTrialsResponse

buildPartial()

public SuggestTrialsResponse buildPartial()
Returns
TypeDescription
SuggestTrialsResponse

clear()

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

clearEndTime()

public SuggestTrialsResponse.Builder clearEndTime()

The time at which operation processing completed.

.google.protobuf.Timestamp end_time = 4;

Returns
TypeDescription
SuggestTrialsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStartTime()

public SuggestTrialsResponse.Builder clearStartTime()

The time at which the operation was started.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
SuggestTrialsResponse.Builder

clearStudyState()

public SuggestTrialsResponse.Builder clearStudyState()

The state of the Study.

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

Returns
TypeDescription
SuggestTrialsResponse.Builder

This builder for chaining.

clearTrials()

public SuggestTrialsResponse.Builder clearTrials()

A list of Trials.

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

Returns
TypeDescription
SuggestTrialsResponse.Builder

clone()

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

getDefaultInstanceForType()

public SuggestTrialsResponse getDefaultInstanceForType()
Returns
TypeDescription
SuggestTrialsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

The time at which operation processing completed.

.google.protobuf.Timestamp end_time = 4;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

The time at which operation processing completed.

.google.protobuf.Timestamp end_time = 4;

Returns
TypeDescription
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The time at which operation processing completed.

.google.protobuf.Timestamp end_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getStartTime()

public Timestamp getStartTime()

The time at which the operation was started.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The time at which the operation was started.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time at which the operation was started.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getStudyState()

public Study.State getStudyState()

The state of the Study.

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

Returns
TypeDescription
Study.State

The studyState.

getStudyStateValue()

public int getStudyStateValue()

The state of the Study.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Trial

getTrialsBuilder(int index)

public Trial.Builder getTrialsBuilder(int index)

A list of Trials.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Trial.Builder

getTrialsBuilderList()

public List<Trial.Builder> getTrialsBuilderList()

A list of Trials.

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

Returns
TypeDescription
List<Builder>

getTrialsCount()

public int getTrialsCount()

A list of Trials.

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

Returns
TypeDescription
int

getTrialsList()

public List<Trial> getTrialsList()

A list of Trials.

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

Returns
TypeDescription
List<Trial>

getTrialsOrBuilder(int index)

public TrialOrBuilder getTrialsOrBuilder(int index)

A list of Trials.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TrialOrBuilder

getTrialsOrBuilderList()

public List<? extends TrialOrBuilder> getTrialsOrBuilderList()

A list of Trials.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
SuggestTrialsResponse.Builder

mergeFrom(SuggestTrialsResponse other)

public SuggestTrialsResponse.Builder mergeFrom(SuggestTrialsResponse other)
Parameter
NameDescription
otherSuggestTrialsResponse
Returns
TypeDescription
SuggestTrialsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SuggestTrialsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
SuggestTrialsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SuggestTrialsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
SuggestTrialsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public SuggestTrialsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueStudy.State

The studyState to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
indexint
valueTrial
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTrial.Builder
Returns
TypeDescription
SuggestTrialsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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