Class ListTrialsResponse.Builder (3.56.0)

public static final class ListTrialsResponse.Builder extends GeneratedMessageV3.Builder<ListTrialsResponse.Builder> implements ListTrialsResponseOrBuilder

Response message for VizierService.ListTrials.

Protobuf type google.cloud.aiplatform.v1.ListTrialsResponse

Static Methods

getDescriptor()

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

Methods

addAllTrials(Iterable<? extends Trial> values)

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

The Trials associated with the Study.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTrials(Trial value)

public ListTrialsResponse.Builder addTrials(Trial value)

The Trials associated with the Study.

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

Parameter
Name Description
value Trial
Returns
Type Description
ListTrialsResponse.Builder

addTrials(Trial.Builder builderForValue)

public ListTrialsResponse.Builder addTrials(Trial.Builder builderForValue)

The Trials associated with the Study.

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

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

addTrials(int index, Trial value)

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

The Trials associated with the Study.

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

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

addTrials(int index, Trial.Builder builderForValue)

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

The Trials associated with the Study.

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

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

addTrialsBuilder()

public Trial.Builder addTrialsBuilder()

The Trials associated with the Study.

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

Returns
Type Description
Trial.Builder

addTrialsBuilder(int index)

public Trial.Builder addTrialsBuilder(int index)

The Trials associated with the Study.

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

Parameter
Name Description
index int
Returns
Type Description
Trial.Builder

build()

public ListTrialsResponse build()
Returns
Type Description
ListTrialsResponse

buildPartial()

public ListTrialsResponse buildPartial()
Returns
Type Description
ListTrialsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListTrialsResponse.Builder clearNextPageToken()

Pass this token as the page_token field of the request for a subsequent call. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListTrialsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTrials()

public ListTrialsResponse.Builder clearTrials()

The Trials associated with the Study.

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

Returns
Type Description
ListTrialsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListTrialsResponse getDefaultInstanceForType()
Returns
Type Description
ListTrialsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Pass this token as the page_token field of the request for a subsequent call. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Pass this token as the page_token field of the request for a subsequent call. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getTrials(int index)

public Trial getTrials(int index)

The Trials associated with the Study.

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

Parameter
Name Description
index int
Returns
Type Description
Trial

getTrialsBuilder(int index)

public Trial.Builder getTrialsBuilder(int index)

The Trials associated with the Study.

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

Parameter
Name Description
index int
Returns
Type Description
Trial.Builder

getTrialsBuilderList()

public List<Trial.Builder> getTrialsBuilderList()

The Trials associated with the Study.

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

Returns
Type Description
List<Builder>

getTrialsCount()

public int getTrialsCount()

The Trials associated with the Study.

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

Returns
Type Description
int

getTrialsList()

public List<Trial> getTrialsList()

The Trials associated with the Study.

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

Returns
Type Description
List<Trial>

getTrialsOrBuilder(int index)

public TrialOrBuilder getTrialsOrBuilder(int index)

The Trials associated with the Study.

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

Parameter
Name Description
index int
Returns
Type Description
TrialOrBuilder

getTrialsOrBuilderList()

public List<? extends TrialOrBuilder> getTrialsOrBuilderList()

The Trials associated with the Study.

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

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListTrialsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTrials(int index)

public ListTrialsResponse.Builder removeTrials(int index)

The Trials associated with the Study.

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

Parameter
Name Description
index int
Returns
Type Description
ListTrialsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListTrialsResponse.Builder setNextPageToken(String value)

Pass this token as the page_token field of the request for a subsequent call. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListTrialsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListTrialsResponse.Builder setNextPageTokenBytes(ByteString value)

Pass this token as the page_token field of the request for a subsequent call. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListTrialsResponse.Builder

This builder for chaining.

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

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

setTrials(int index, Trial value)

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

The Trials associated with the Study.

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

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

setTrials(int index, Trial.Builder builderForValue)

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

The Trials associated with the Study.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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