Class ListTrialsResponse.Builder (3.4.1)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.Trial>
Returns
TypeDescription
ListTrialsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTrialsBuilder()

public Trial.Builder addTrialsBuilder()

The Trials associated with the Study.

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

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

build()

public ListTrialsResponse build()
Returns
TypeDescription
ListTrialsResponse

buildPartial()

public ListTrialsResponse buildPartial()
Returns
TypeDescription
ListTrialsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListTrialsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListTrialsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTrials()

public ListTrialsResponse.Builder clearTrials()

The Trials associated with the Study.

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

Returns
TypeDescription
ListTrialsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListTrialsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListTrialsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Trial.Builder

getTrialsBuilderList()

public List<Trial.Builder> getTrialsBuilderList()

The Trials associated with the Study.

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

Returns
TypeDescription
List<Builder>

getTrialsCount()

public int getTrialsCount()

The Trials associated with the Study.

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

Returns
TypeDescription
int

getTrialsList()

public List<Trial> getTrialsList()

The Trials associated with the Study.

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

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

getTrialsOrBuilderList()

public List<? extends TrialOrBuilder> getTrialsOrBuilderList()

The Trials associated with the Study.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListTrialsResponse other)

public ListTrialsResponse.Builder mergeFrom(ListTrialsResponse other)
Parameter
NameDescription
otherListTrialsResponse
Returns
TypeDescription
ListTrialsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ListTrialsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListTrialsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ListTrialsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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