Class ListModelVersionsResponse.Builder (3.4.2)

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

Response message for ModelService.ListModelVersions

Protobuf type google.cloud.aiplatform.v1.ListModelVersionsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1.Model models = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.Model>
Returns
TypeDescription
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.v1.Model models = 1;

Parameter
NameDescription
valueModel
Returns
TypeDescription
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.v1.Model models = 1;

Parameter
NameDescription
builderForValueModel.Builder
Returns
TypeDescription
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.v1.Model models = 1;

Parameters
NameDescription
indexint
valueModel
Returns
TypeDescription
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.v1.Model models = 1;

Parameters
NameDescription
indexint
builderForValueModel.Builder
Returns
TypeDescription
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.v1.Model models = 1;

Returns
TypeDescription
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.v1.Model models = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Model.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListModelVersionsResponse build()
Returns
TypeDescription
ListModelVersionsResponse

buildPartial()

public ListModelVersionsResponse buildPartial()
Returns
TypeDescription
ListModelVersionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListModelVersionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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.v1.Model models = 1;

Returns
TypeDescription
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
TypeDescription
ListModelVersionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListModelVersionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListModelVersionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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.v1.Model models = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.Model models = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.Model models = 1;

Returns
TypeDescription
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.v1.Model models = 1;

Returns
TypeDescription
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.v1.Model models = 1;

Returns
TypeDescription
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.v1.Model models = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.Model models = 1;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1.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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListModelVersionsResponse other)

public ListModelVersionsResponse.Builder mergeFrom(ListModelVersionsResponse other)
Parameter
NameDescription
otherListModelVersionsResponse
Returns
TypeDescription
ListModelVersionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListModelVersionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1.Model models = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListModelVersionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListModelVersionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1.Model models = 1;

Parameters
NameDescription
indexint
valueModel
Returns
TypeDescription
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.v1.Model models = 1;

Parameters
NameDescription
indexint
builderForValueModel.Builder
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListModelVersionsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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