Class ListPublisherModelsResponse.Builder (3.50.0)

public static final class ListPublisherModelsResponse.Builder extends GeneratedMessageV3.Builder<ListPublisherModelsResponse.Builder> implements ListPublisherModelsResponseOrBuilder

Response message for ModelGardenService.ListPublisherModels.

Protobuf type google.cloud.aiplatform.v1beta1.ListPublisherModelsResponse

Static Methods

getDescriptor()

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

Methods

addAllPublisherModels(Iterable<? extends PublisherModel> values)

public ListPublisherModelsResponse.Builder addAllPublisherModels(Iterable<? extends PublisherModel> values)

List of PublisherModels in the requested page.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;

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

addPublisherModels(PublisherModel value)

public ListPublisherModelsResponse.Builder addPublisherModels(PublisherModel value)

List of PublisherModels in the requested page.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;

Parameter
Name Description
value PublisherModel
Returns
Type Description
ListPublisherModelsResponse.Builder

addPublisherModels(PublisherModel.Builder builderForValue)

public ListPublisherModelsResponse.Builder addPublisherModels(PublisherModel.Builder builderForValue)

List of PublisherModels in the requested page.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;

Parameter
Name Description
builderForValue PublisherModel.Builder
Returns
Type Description
ListPublisherModelsResponse.Builder

addPublisherModels(int index, PublisherModel value)

public ListPublisherModelsResponse.Builder addPublisherModels(int index, PublisherModel value)

List of PublisherModels in the requested page.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;

Parameters
Name Description
index int
value PublisherModel
Returns
Type Description
ListPublisherModelsResponse.Builder

addPublisherModels(int index, PublisherModel.Builder builderForValue)

public ListPublisherModelsResponse.Builder addPublisherModels(int index, PublisherModel.Builder builderForValue)

List of PublisherModels in the requested page.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;

Parameters
Name Description
index int
builderForValue PublisherModel.Builder
Returns
Type Description
ListPublisherModelsResponse.Builder

addPublisherModelsBuilder()

public PublisherModel.Builder addPublisherModelsBuilder()

List of PublisherModels in the requested page.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;

Returns
Type Description
PublisherModel.Builder

addPublisherModelsBuilder(int index)

public PublisherModel.Builder addPublisherModelsBuilder(int index)

List of PublisherModels in the requested page.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;

Parameter
Name Description
index int
Returns
Type Description
PublisherModel.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListPublisherModelsResponse build()
Returns
Type Description
ListPublisherModelsResponse

buildPartial()

public ListPublisherModelsResponse buildPartial()
Returns
Type Description
ListPublisherModelsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListPublisherModelsResponse.Builder clearNextPageToken()

A token to retrieve next page of results. Pass to [ListPublisherModels.page_token][] to obtain that page.

string next_page_token = 2;

Returns
Type Description
ListPublisherModelsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPublisherModels()

public ListPublisherModelsResponse.Builder clearPublisherModels()

List of PublisherModels in the requested page.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;

Returns
Type Description
ListPublisherModelsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListPublisherModelsResponse getDefaultInstanceForType()
Returns
Type Description
ListPublisherModelsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token to retrieve next page of results. Pass to [ListPublisherModels.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 next page of results. Pass to [ListPublisherModels.page_token][] to obtain that page.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getPublisherModels(int index)

public PublisherModel getPublisherModels(int index)

List of PublisherModels in the requested page.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;

Parameter
Name Description
index int
Returns
Type Description
PublisherModel

getPublisherModelsBuilder(int index)

public PublisherModel.Builder getPublisherModelsBuilder(int index)

List of PublisherModels in the requested page.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;

Parameter
Name Description
index int
Returns
Type Description
PublisherModel.Builder

getPublisherModelsBuilderList()

public List<PublisherModel.Builder> getPublisherModelsBuilderList()

List of PublisherModels in the requested page.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;

Returns
Type Description
List<Builder>

getPublisherModelsCount()

public int getPublisherModelsCount()

List of PublisherModels in the requested page.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;

Returns
Type Description
int

getPublisherModelsList()

public List<PublisherModel> getPublisherModelsList()

List of PublisherModels in the requested page.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;

Returns
Type Description
List<PublisherModel>

getPublisherModelsOrBuilder(int index)

public PublisherModelOrBuilder getPublisherModelsOrBuilder(int index)

List of PublisherModels in the requested page.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;

Parameter
Name Description
index int
Returns
Type Description
PublisherModelOrBuilder

getPublisherModelsOrBuilderList()

public List<? extends PublisherModelOrBuilder> getPublisherModelsOrBuilderList()

List of PublisherModels in the requested page.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListPublisherModelsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removePublisherModels(int index)

public ListPublisherModelsResponse.Builder removePublisherModels(int index)

List of PublisherModels in the requested page.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;

Parameter
Name Description
index int
Returns
Type Description
ListPublisherModelsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListPublisherModelsResponse.Builder setNextPageToken(String value)

A token to retrieve next page of results. Pass to [ListPublisherModels.page_token][] to obtain that page.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListPublisherModelsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListPublisherModelsResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve next page of results. Pass to [ListPublisherModels.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
ListPublisherModelsResponse.Builder

This builder for chaining.

setPublisherModels(int index, PublisherModel value)

public ListPublisherModelsResponse.Builder setPublisherModels(int index, PublisherModel value)

List of PublisherModels in the requested page.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;

Parameters
Name Description
index int
value PublisherModel
Returns
Type Description
ListPublisherModelsResponse.Builder

setPublisherModels(int index, PublisherModel.Builder builderForValue)

public ListPublisherModelsResponse.Builder setPublisherModels(int index, PublisherModel.Builder builderForValue)

List of PublisherModels in the requested page.

repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;

Parameters
Name Description
index int
builderForValue PublisherModel.Builder
Returns
Type Description
ListPublisherModelsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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