Class ListStudiesResponse.Builder (3.31.0)

public static final class ListStudiesResponse.Builder extends GeneratedMessageV3.Builder<ListStudiesResponse.Builder> implements ListStudiesResponseOrBuilder

Response message for VizierService.ListStudies.

Protobuf type google.cloud.aiplatform.v1.ListStudiesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllStudies(Iterable<? extends Study> values)

public ListStudiesResponse.Builder addAllStudies(Iterable<? extends Study> values)

The studies associated with the project.

repeated .google.cloud.aiplatform.v1.Study studies = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.Study>
Returns
TypeDescription
ListStudiesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListStudiesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListStudiesResponse.Builder
Overrides

addStudies(Study value)

public ListStudiesResponse.Builder addStudies(Study value)

The studies associated with the project.

repeated .google.cloud.aiplatform.v1.Study studies = 1;

Parameter
NameDescription
valueStudy
Returns
TypeDescription
ListStudiesResponse.Builder

addStudies(Study.Builder builderForValue)

public ListStudiesResponse.Builder addStudies(Study.Builder builderForValue)

The studies associated with the project.

repeated .google.cloud.aiplatform.v1.Study studies = 1;

Parameter
NameDescription
builderForValueStudy.Builder
Returns
TypeDescription
ListStudiesResponse.Builder

addStudies(int index, Study value)

public ListStudiesResponse.Builder addStudies(int index, Study value)

The studies associated with the project.

repeated .google.cloud.aiplatform.v1.Study studies = 1;

Parameters
NameDescription
indexint
valueStudy
Returns
TypeDescription
ListStudiesResponse.Builder

addStudies(int index, Study.Builder builderForValue)

public ListStudiesResponse.Builder addStudies(int index, Study.Builder builderForValue)

The studies associated with the project.

repeated .google.cloud.aiplatform.v1.Study studies = 1;

Parameters
NameDescription
indexint
builderForValueStudy.Builder
Returns
TypeDescription
ListStudiesResponse.Builder

addStudiesBuilder()

public Study.Builder addStudiesBuilder()

The studies associated with the project.

repeated .google.cloud.aiplatform.v1.Study studies = 1;

Returns
TypeDescription
Study.Builder

addStudiesBuilder(int index)

public Study.Builder addStudiesBuilder(int index)

The studies associated with the project.

repeated .google.cloud.aiplatform.v1.Study studies = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Study.Builder

build()

public ListStudiesResponse build()
Returns
TypeDescription
ListStudiesResponse

buildPartial()

public ListStudiesResponse buildPartial()
Returns
TypeDescription
ListStudiesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListStudiesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListStudiesResponse.Builder
Overrides

clearNextPageToken()

public ListStudiesResponse.Builder clearNextPageToken()

Passes 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
ListStudiesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStudies()

public ListStudiesResponse.Builder clearStudies()

The studies associated with the project.

repeated .google.cloud.aiplatform.v1.Study studies = 1;

Returns
TypeDescription
ListStudiesResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListStudiesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListStudiesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

Passes 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()

Passes 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.

getStudies(int index)

public Study getStudies(int index)

The studies associated with the project.

repeated .google.cloud.aiplatform.v1.Study studies = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Study

getStudiesBuilder(int index)

public Study.Builder getStudiesBuilder(int index)

The studies associated with the project.

repeated .google.cloud.aiplatform.v1.Study studies = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Study.Builder

getStudiesBuilderList()

public List<Study.Builder> getStudiesBuilderList()

The studies associated with the project.

repeated .google.cloud.aiplatform.v1.Study studies = 1;

Returns
TypeDescription
List<Builder>

getStudiesCount()

public int getStudiesCount()

The studies associated with the project.

repeated .google.cloud.aiplatform.v1.Study studies = 1;

Returns
TypeDescription
int

getStudiesList()

public List<Study> getStudiesList()

The studies associated with the project.

repeated .google.cloud.aiplatform.v1.Study studies = 1;

Returns
TypeDescription
List<Study>

getStudiesOrBuilder(int index)

public StudyOrBuilder getStudiesOrBuilder(int index)

The studies associated with the project.

repeated .google.cloud.aiplatform.v1.Study studies = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
StudyOrBuilder

getStudiesOrBuilderList()

public List<? extends StudyOrBuilder> getStudiesOrBuilderList()

The studies associated with the project.

repeated .google.cloud.aiplatform.v1.Study studies = 1;

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListStudiesResponse other)

public ListStudiesResponse.Builder mergeFrom(ListStudiesResponse other)
Parameter
NameDescription
otherListStudiesResponse
Returns
TypeDescription
ListStudiesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListStudiesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListStudiesResponse.Builder
Overrides

removeStudies(int index)

public ListStudiesResponse.Builder removeStudies(int index)

The studies associated with the project.

repeated .google.cloud.aiplatform.v1.Study studies = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListStudiesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListStudiesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListStudiesResponse.Builder
Overrides

setNextPageToken(String value)

public ListStudiesResponse.Builder setNextPageToken(String value)

Passes 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
ListStudiesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListStudiesResponse.Builder setNextPageTokenBytes(ByteString value)

Passes 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
ListStudiesResponse.Builder

This builder for chaining.

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

public ListStudiesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListStudiesResponse.Builder
Overrides

setStudies(int index, Study value)

public ListStudiesResponse.Builder setStudies(int index, Study value)

The studies associated with the project.

repeated .google.cloud.aiplatform.v1.Study studies = 1;

Parameters
NameDescription
indexint
valueStudy
Returns
TypeDescription
ListStudiesResponse.Builder

setStudies(int index, Study.Builder builderForValue)

public ListStudiesResponse.Builder setStudies(int index, Study.Builder builderForValue)

The studies associated with the project.

repeated .google.cloud.aiplatform.v1.Study studies = 1;

Parameters
NameDescription
indexint
builderForValueStudy.Builder
Returns
TypeDescription
ListStudiesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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