public static final class ListTrialsResponse.Builder extends GeneratedMessageV3.Builder<ListTrialsResponse.Builder> implements ListTrialsResponseOrBuilder
Response message for VizierService.ListTrials.
Protobuf type google.cloud.aiplatform.v1beta1.ListTrialsResponse
Methods
public ListTrialsResponse.Builder addAllTrials(Iterable<? extends Trial> values)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1beta1.Trial>
|
Returns
public ListTrialsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListTrialsResponse.Builder addTrials(Trial value)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;
Parameter
Name | Description |
value | Trial
|
Returns
public ListTrialsResponse.Builder addTrials(Trial.Builder builderForValue)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;
Parameter
Returns
public ListTrialsResponse.Builder addTrials(int index, Trial value)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;
Parameters
Returns
public ListTrialsResponse.Builder addTrials(int index, Trial.Builder builderForValue)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;
Parameters
Returns
public Trial.Builder addTrialsBuilder()
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;
Returns
public Trial.Builder addTrialsBuilder(int index)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;
Parameter
Returns
public ListTrialsResponse build()
Returns
public ListTrialsResponse buildPartial()
Returns
public ListTrialsResponse.Builder clear()
Returns
Overrides
public ListTrialsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
public ListTrialsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ListTrialsResponse.Builder clearTrials()
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;
Returns
public ListTrialsResponse.Builder clone()
Returns
Overrides
public ListTrialsResponse getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
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.
|
public Trial getTrials(int index)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;
Parameter
Returns
public Trial.Builder getTrialsBuilder(int index)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;
Parameter
Returns
public List<Trial.Builder> getTrialsBuilderList()
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;
Returns
public int getTrialsCount()
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;
Returns
public List<Trial> getTrialsList()
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;
Returns
public TrialOrBuilder getTrialsOrBuilder(int index)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;
Parameter
Returns
public List<? extends TrialOrBuilder> getTrialsOrBuilderList()
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;
Returns
Type | Description |
List<? extends com.google.cloud.aiplatform.v1beta1.TrialOrBuilder> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ListTrialsResponse.Builder mergeFrom(ListTrialsResponse other)
Parameter
Returns
public ListTrialsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListTrialsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ListTrialsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ListTrialsResponse.Builder removeTrials(int index)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;
Parameter
Returns
public ListTrialsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
public ListTrialsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public ListTrialsResponse.Builder setTrials(int index, Trial value)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;
Parameters
Returns
public ListTrialsResponse.Builder setTrials(int index, Trial.Builder builderForValue)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;
Parameters
Returns
public final ListTrialsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides