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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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>
|
public ListPublisherModelsResponse.Builder addPublisherModels(PublisherModel value)
List of PublisherModels in the requested page.
repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;
public ListPublisherModelsResponse.Builder addPublisherModels(PublisherModel.Builder builderForValue)
List of PublisherModels in the requested page.
repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;
public ListPublisherModelsResponse.Builder addPublisherModels(int index, PublisherModel value)
List of PublisherModels in the requested page.
repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;
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;
public PublisherModel.Builder addPublisherModelsBuilder()
List of PublisherModels in the requested page.
repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;
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
|
public ListPublisherModelsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListPublisherModelsResponse build()
public ListPublisherModelsResponse buildPartial()
public ListPublisherModelsResponse.Builder clear()
Overrides
public ListPublisherModelsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
public ListPublisherModelsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListPublisherModelsResponse.Builder clearPublisherModels()
List of PublisherModels in the requested page.
repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;
public ListPublisherModelsResponse.Builder clone()
Overrides
public ListPublisherModelsResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
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
|
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
|
public List<PublisherModel.Builder> getPublisherModelsBuilderList()
List of PublisherModels in the requested page.
repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;
public int getPublisherModelsCount()
List of PublisherModels in the requested page.
repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;
Returns |
Type |
Description |
int |
|
public List<PublisherModel> getPublisherModelsList()
List of PublisherModels in the requested page.
repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;
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
|
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> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListPublisherModelsResponse.Builder mergeFrom(ListPublisherModelsResponse other)
public ListPublisherModelsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListPublisherModelsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final ListPublisherModelsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
public ListPublisherModelsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public ListPublisherModelsResponse.Builder setPublisherModels(int index, PublisherModel value)
List of PublisherModels in the requested page.
repeated .google.cloud.aiplatform.v1beta1.PublisherModel publisher_models = 1;
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;
public ListPublisherModelsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ListPublisherModelsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides