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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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>
|
public ListTrialsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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
|
public ListTrialsResponse.Builder addTrials(Trial.Builder builderForValue)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1.Trial trials = 1;
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
|
public ListTrialsResponse.Builder addTrials(int index, Trial.Builder builderForValue)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1.Trial trials = 1;
public Trial.Builder addTrialsBuilder()
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1.Trial trials = 1;
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
|
public ListTrialsResponse build()
public ListTrialsResponse buildPartial()
public ListTrialsResponse.Builder clear()
Overrides
public ListTrialsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
public ListTrialsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListTrialsResponse.Builder clearTrials()
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1.Trial trials = 1;
public ListTrialsResponse.Builder clone()
Overrides
public ListTrialsResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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.v1.Trial trials = 1;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Trial |
|
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
|
public List<Trial.Builder> getTrialsBuilderList()
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1.Trial trials = 1;
public int getTrialsCount()
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1.Trial trials = 1;
Returns |
Type |
Description |
int |
|
public List<Trial> getTrialsList()
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1.Trial trials = 1;
public TrialOrBuilder getTrialsOrBuilder(int index)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1.Trial trials = 1;
Parameter |
Name |
Description |
index |
int
|
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> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListTrialsResponse.Builder mergeFrom(ListTrialsResponse other)
public ListTrialsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListTrialsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final ListTrialsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
public ListTrialsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public ListTrialsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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
|
public ListTrialsResponse.Builder setTrials(int index, Trial.Builder builderForValue)
The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1.Trial trials = 1;
public final ListTrialsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides