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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 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>
|
public ListRepositoriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListRepositoriesResponse.Builder addRepositories(Repository value)
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
public ListRepositoriesResponse.Builder addRepositories(Repository.Builder builderForValue)
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
public ListRepositoriesResponse.Builder addRepositories(int index, Repository value)
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
public ListRepositoriesResponse.Builder addRepositories(int index, Repository.Builder builderForValue)
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
public Repository.Builder addRepositoriesBuilder()
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
public Repository.Builder addRepositoriesBuilder(int index)
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
Parameter |
---|
Name | Description |
index | int
|
public ListRepositoriesResponse build()
public ListRepositoriesResponse buildPartial()
public ListRepositoriesResponse.Builder clear()
Overrides
public ListRepositoriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
public ListRepositoriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListRepositoriesResponse.Builder clearRepositories()
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
public ListRepositoriesResponse.Builder clone()
Overrides
public ListRepositoriesResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
public Repository.Builder getRepositoriesBuilder(int index)
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
Parameter |
---|
Name | Description |
index | int
|
public List<Repository.Builder> getRepositoriesBuilderList()
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
public int getRepositoriesCount()
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
Returns |
---|
Type | Description |
int | |
public List<Repository> getRepositoriesList()
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
public RepositoryOrBuilder getRepositoriesOrBuilder(int index)
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
Parameter |
---|
Name | Description |
index | int
|
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()
Overrides
public final boolean isInitialized()
Overrides
public ListRepositoriesResponse.Builder mergeFrom(ListRepositoriesResponse other)
public ListRepositoriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListRepositoriesResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ListRepositoriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ListRepositoriesResponse.Builder removeRepositories(int index)
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
Parameter |
---|
Name | Description |
index | int
|
public ListRepositoriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public ListRepositoriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public ListRepositoriesResponse.Builder setRepositories(int index, Repository value)
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
public ListRepositoriesResponse.Builder setRepositories(int index, Repository.Builder builderForValue)
The repositories returned.
repeated .google.devtools.artifactregistry.v1.Repository repositories = 1;
public final ListRepositoriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides