Class ListPublisherModelsResponse.Builder (3.37.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.PublisherModel>
Returns
TypeDescription
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
NameDescription
valuePublisherModel
Returns
TypeDescription
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
NameDescription
builderForValuePublisherModel.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuePublisherModel
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePublisherModel.Builder
Returns
TypeDescription
ListPublisherModelsResponse.Builder

addPublisherModelsBuilder()

public PublisherModel.Builder addPublisherModelsBuilder()

List of PublisherModels in the requested page.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListPublisherModelsResponse build()
Returns
TypeDescription
ListPublisherModelsResponse

buildPartial()

public ListPublisherModelsResponse buildPartial()
Returns
TypeDescription
ListPublisherModelsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListPublisherModelsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListPublisherModelsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListPublisherModelsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListPublisherModelsResponse

getDescriptorForType()

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

getPublisherModelsCount()

public int getPublisherModelsCount()

List of PublisherModels in the requested page.

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

Returns
TypeDescription
int

getPublisherModelsList()

public List<PublisherModel> getPublisherModelsList()

List of PublisherModels in the requested page.

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

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

getPublisherModelsOrBuilderList()

public List<? extends PublisherModelOrBuilder> getPublisherModelsOrBuilderList()

List of PublisherModels in the requested page.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListPublisherModelsResponse other)

public ListPublisherModelsResponse.Builder mergeFrom(ListPublisherModelsResponse other)
Parameter
NameDescription
otherListPublisherModelsResponse
Returns
TypeDescription
ListPublisherModelsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
indexint
valuePublisherModel
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePublisherModel.Builder
Returns
TypeDescription
ListPublisherModelsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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