Class ListModelVersionsResponse.Builder (3.43.0)

public static final class ListModelVersionsResponse.Builder extends GeneratedMessageV3.Builder<ListModelVersionsResponse.Builder> implements ListModelVersionsResponseOrBuilder

Response message for ModelService.ListModelVersions

Protobuf type google.cloud.aiplatform.v1beta1.ListModelVersionsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllModels(Iterable<? extends Model> values)

public ListModelVersionsResponse.Builder addAllModels(Iterable<? extends Model> values)

List of Model versions in the requested page. In the returned Model name field, version ID instead of regvision tag will be included.

repeated .google.cloud.aiplatform.v1beta1.Model models = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.Model>
Returns
Type Description
ListModelVersionsResponse.Builder

addModels(Model value)

public ListModelVersionsResponse.Builder addModels(Model value)

List of Model versions in the requested page. In the returned Model name field, version ID instead of regvision tag will be included.

repeated .google.cloud.aiplatform.v1beta1.Model models = 1;

Parameter
Name Description
value Model
Returns
Type Description
ListModelVersionsResponse.Builder

addModels(Model.Builder builderForValue)

public ListModelVersionsResponse.Builder addModels(Model.Builder builderForValue)

List of Model versions in the requested page. In the returned Model name field, version ID instead of regvision tag will be included.

repeated .google.cloud.aiplatform.v1beta1.Model models = 1;

Parameter
Name Description
builderForValue Model.Builder
Returns
Type Description
ListModelVersionsResponse.Builder

addModels(int index, Model value)

public ListModelVersionsResponse.Builder addModels(int index, Model value)

List of Model versions in the requested page. In the returned Model name field, version ID instead of regvision tag will be included.

repeated .google.cloud.aiplatform.v1beta1.Model models = 1;

Parameters
Name Description
index int
value Model
Returns
Type Description
ListModelVersionsResponse.Builder

addModels(int index, Model.Builder builderForValue)

public ListModelVersionsResponse.Builder addModels(int index, Model.Builder builderForValue)

List of Model versions in the requested page. In the returned Model name field, version ID instead of regvision tag will be included.

repeated .google.cloud.aiplatform.v1beta1.Model models = 1;

Parameters
Name Description
index int
builderForValue Model.Builder
Returns
Type Description
ListModelVersionsResponse.Builder

addModelsBuilder()

public Model.Builder addModelsBuilder()

List of Model versions in the requested page. In the returned Model name field, version ID instead of regvision tag will be included.

repeated .google.cloud.aiplatform.v1beta1.Model models = 1;

Returns
Type Description
Model.Builder

addModelsBuilder(int index)

public Model.Builder addModelsBuilder(int index)

List of Model versions in the requested page. In the returned Model name field, version ID instead of regvision tag will be included.

repeated .google.cloud.aiplatform.v1beta1.Model models = 1;

Parameter
Name Description
index int
Returns
Type Description
Model.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListModelVersionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListModelVersionsResponse.Builder
Overrides

build()

public ListModelVersionsResponse build()
Returns
Type Description
ListModelVersionsResponse

buildPartial()

public ListModelVersionsResponse buildPartial()
Returns
Type Description
ListModelVersionsResponse

clear()

public ListModelVersionsResponse.Builder clear()
Returns
Type Description
ListModelVersionsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListModelVersionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListModelVersionsResponse.Builder
Overrides

clearModels()

public ListModelVersionsResponse.Builder clearModels()

List of Model versions in the requested page. In the returned Model name field, version ID instead of regvision tag will be included.

repeated .google.cloud.aiplatform.v1beta1.Model models = 1;

Returns
Type Description
ListModelVersionsResponse.Builder

clearNextPageToken()

public ListModelVersionsResponse.Builder clearNextPageToken()

A token to retrieve the next page of results. Pass to ListModelVersionsRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
Type Description
ListModelVersionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListModelVersionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListModelVersionsResponse.Builder
Overrides

clone()

public ListModelVersionsResponse.Builder clone()
Returns
Type Description
ListModelVersionsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListModelVersionsResponse getDefaultInstanceForType()
Returns
Type Description
ListModelVersionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getModels(int index)

public Model getModels(int index)

List of Model versions in the requested page. In the returned Model name field, version ID instead of regvision tag will be included.

repeated .google.cloud.aiplatform.v1beta1.Model models = 1;

Parameter
Name Description
index int
Returns
Type Description
Model

getModelsBuilder(int index)

public Model.Builder getModelsBuilder(int index)

List of Model versions in the requested page. In the returned Model name field, version ID instead of regvision tag will be included.

repeated .google.cloud.aiplatform.v1beta1.Model models = 1;

Parameter
Name Description
index int
Returns
Type Description
Model.Builder

getModelsBuilderList()

public List<Model.Builder> getModelsBuilderList()

List of Model versions in the requested page. In the returned Model name field, version ID instead of regvision tag will be included.

repeated .google.cloud.aiplatform.v1beta1.Model models = 1;

Returns
Type Description
List<Builder>

getModelsCount()

public int getModelsCount()

List of Model versions in the requested page. In the returned Model name field, version ID instead of regvision tag will be included.

repeated .google.cloud.aiplatform.v1beta1.Model models = 1;

Returns
Type Description
int

getModelsList()

public List<Model> getModelsList()

List of Model versions in the requested page. In the returned Model name field, version ID instead of regvision tag will be included.

repeated .google.cloud.aiplatform.v1beta1.Model models = 1;

Returns
Type Description
List<Model>

getModelsOrBuilder(int index)

public ModelOrBuilder getModelsOrBuilder(int index)

List of Model versions in the requested page. In the returned Model name field, version ID instead of regvision tag will be included.

repeated .google.cloud.aiplatform.v1beta1.Model models = 1;

Parameter
Name Description
index int
Returns
Type Description
ModelOrBuilder

getModelsOrBuilderList()

public List<? extends ModelOrBuilder> getModelsOrBuilderList()

List of Model versions in the requested page. In the returned Model name field, version ID instead of regvision tag will be included.

repeated .google.cloud.aiplatform.v1beta1.Model models = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.ModelOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token to retrieve the next page of results. Pass to ListModelVersionsRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve the next page of results. Pass to ListModelVersionsRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListModelVersionsResponse other)

public ListModelVersionsResponse.Builder mergeFrom(ListModelVersionsResponse other)
Parameter
Name Description
other ListModelVersionsResponse
Returns
Type Description
ListModelVersionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListModelVersionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListModelVersionsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListModelVersionsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListModelVersionsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListModelVersionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListModelVersionsResponse.Builder
Overrides

removeModels(int index)

public ListModelVersionsResponse.Builder removeModels(int index)

List of Model versions in the requested page. In the returned Model name field, version ID instead of regvision tag will be included.

repeated .google.cloud.aiplatform.v1beta1.Model models = 1;

Parameter
Name Description
index int
Returns
Type Description
ListModelVersionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListModelVersionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListModelVersionsResponse.Builder
Overrides

setModels(int index, Model value)

public ListModelVersionsResponse.Builder setModels(int index, Model value)

List of Model versions in the requested page. In the returned Model name field, version ID instead of regvision tag will be included.

repeated .google.cloud.aiplatform.v1beta1.Model models = 1;

Parameters
Name Description
index int
value Model
Returns
Type Description
ListModelVersionsResponse.Builder

setModels(int index, Model.Builder builderForValue)

public ListModelVersionsResponse.Builder setModels(int index, Model.Builder builderForValue)

List of Model versions in the requested page. In the returned Model name field, version ID instead of regvision tag will be included.

repeated .google.cloud.aiplatform.v1beta1.Model models = 1;

Parameters
Name Description
index int
builderForValue Model.Builder
Returns
Type Description
ListModelVersionsResponse.Builder

setNextPageToken(String value)

public ListModelVersionsResponse.Builder setNextPageToken(String value)

A token to retrieve the next page of results. Pass to ListModelVersionsRequest.page_token to obtain that page.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListModelVersionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListModelVersionsResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve the next page of results. Pass to ListModelVersionsRequest.page_token to obtain that page.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListModelVersionsResponse.Builder

This builder for chaining.

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

public ListModelVersionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListModelVersionsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListModelVersionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListModelVersionsResponse.Builder
Overrides