public static final class ListTrialsResponse.Builder extends GeneratedMessage.Builder<ListTrialsResponse.Builder> implements ListTrialsResponseOrBuilderResponse message for VizierService.ListTrials.
Protobuf type google.cloud.aiplatform.v1beta1.ListTrialsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListTrialsResponse.BuilderImplements
ListTrialsResponseOrBuilderStatic 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.v1beta1.Trial trials = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1beta1.Trial> |
| Returns | |
|---|---|
| Type | Description |
ListTrialsResponse.Builder |
|
addTrials(Trial value)
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 | |
|---|---|
| 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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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 |
|
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. |
clearTrials()
public ListTrialsResponse.Builder clearTrials()The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;
| Returns | |
|---|---|
| Type | Description |
ListTrialsResponse.Builder |
|
getDefaultInstanceForType()
public ListTrialsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListTrialsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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.v1beta1.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.v1beta1.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.v1beta1.Trial trials = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getTrialsCount()
public int getTrialsCount()The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getTrialsList()
public List<Trial> getTrialsList()The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1beta1.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.v1beta1.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.v1beta1.Trial trials = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.aiplatform.v1beta1.TrialOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListTrialsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListTrialsResponse.Builder |
|
removeTrials(int index)
public ListTrialsResponse.Builder removeTrials(int index)The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1beta1.Trial trials = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListTrialsResponse.Builder |
|
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 |
StringThe 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 |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListTrialsResponse.Builder |
This builder for chaining. |
setTrials(int index, Trial value)
public ListTrialsResponse.Builder setTrials(int index, Trial value)The Trials associated with the Study.
repeated .google.cloud.aiplatform.v1beta1.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.v1beta1.Trial trials = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Trial.Builder |
| Returns | |
|---|---|
| Type | Description |
ListTrialsResponse.Builder |
|