public static final class ListRepositoriesResponse.Builder extends GeneratedMessageV3.Builder<ListRepositoriesResponse.Builder> implements ListRepositoriesResponseOrBuilder
The response from listing repositories.
Protobuf type google.devtools.artifactregistry.v1.ListRepositoriesResponse
Methods
public ListRepositoriesResponse.Builder addAllRepositories(Iterable<? extends Repository> values)
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.devtools.artifactregistry.v1.Repository>
|
Returns
public ListRepositoriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListRepositoriesResponse.Builder addRepositories(Repository value)
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
Parameter
Returns
public ListRepositoriesResponse.Builder addRepositories(Repository.Builder builderForValue)
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
Parameter
Returns
public ListRepositoriesResponse.Builder addRepositories(int index, Repository value)
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
Parameters
Returns
public ListRepositoriesResponse.Builder addRepositories(int index, Repository.Builder builderForValue)
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
Parameters
Returns
public Repository.Builder addRepositoriesBuilder()
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
Returns
public Repository.Builder addRepositoriesBuilder(int index)
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
Parameter
Returns
public ListRepositoriesResponse build()
Returns
public ListRepositoriesResponse buildPartial()
Returns
public ListRepositoriesResponse.Builder clear()
Returns
Overrides
public ListRepositoriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListRepositoriesResponse.Builder clearNextPageToken()
The token to retrieve the next page of repositories, or empty if there are
no more repositories to return.
string next_page_token = 2;
Returns
public ListRepositoriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ListRepositoriesResponse.Builder clearRepositories()
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
Returns
public ListRepositoriesResponse.Builder clone()
Returns
Overrides
public ListRepositoriesResponse getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
The token to retrieve the next page of repositories, or empty if there are
no more repositories to return.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
The token to retrieve the next page of repositories, or empty if there are
no more repositories to return.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
public Repository getRepositories(int index)
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
Parameter
Returns
public Repository.Builder getRepositoriesBuilder(int index)
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
Parameter
Returns
public List<Repository.Builder> getRepositoriesBuilderList()
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
Returns
public int getRepositoriesCount()
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
Returns
public List<Repository> getRepositoriesList()
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
Returns
public RepositoryOrBuilder getRepositoriesOrBuilder(int index)
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
Parameter
Returns
public List<? extends RepositoryOrBuilder> getRepositoriesOrBuilderList()
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
Returns
Type | Description |
List<? extends com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ListRepositoriesResponse.Builder mergeFrom(ListRepositoriesResponse other)
Parameter
Returns
public ListRepositoriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListRepositoriesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ListRepositoriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ListRepositoriesResponse.Builder removeRepositories(int index)
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
Parameter
Returns
public ListRepositoriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListRepositoriesResponse.Builder setNextPageToken(String value)
The token to retrieve the next page of repositories, or empty if there are
no more repositories to return.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListRepositoriesResponse.Builder setNextPageTokenBytes(ByteString value)
The token to retrieve the next page of repositories, or empty if there are
no more repositories to return.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
public ListRepositoriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public ListRepositoriesResponse.Builder setRepositories(int index, Repository value)
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
Parameters
Returns
public ListRepositoriesResponse.Builder setRepositories(int index, Repository.Builder builderForValue)
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
Parameters
Returns
public final ListRepositoriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides