public static final class ListRepositoriesResponse.Builder extends GeneratedMessageV3.Builder<ListRepositoriesResponse.Builder> implements ListRepositoriesResponseOrBuilder
Message for response to listing Repositories.
Protobuf type google.devtools.cloudbuild.v2.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()
Returns
Methods
public ListRepositoriesResponse.Builder addAllRepositories(Iterable<? extends Repository> values)
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameter
Name | Description |
values | Iterable<? extends google.devtools.cloudbuild.v2.Repository>
|
Returns
public ListRepositoriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListRepositoriesResponse.Builder addRepositories(Repository value)
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameter
Returns
public ListRepositoriesResponse.Builder addRepositories(Repository.Builder builderForValue)
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameter
Returns
public ListRepositoriesResponse.Builder addRepositories(int index, Repository value)
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameters
Returns
public ListRepositoriesResponse.Builder addRepositories(int index, Repository.Builder builderForValue)
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameters
Returns
public Repository.Builder addRepositoriesBuilder()
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Returns
public Repository.Builder addRepositoriesBuilder(int index)
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.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()
A token identifying a page of results the server should return.
string next_page_token = 2;
Returns
public ListRepositoriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ListRepositoriesResponse.Builder clearRepositories()
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Returns
public ListRepositoriesResponse.Builder clone()
Returns
Overrides
public ListRepositoriesResponse getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
A token identifying a page of results the server should return.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token identifying a page of results the server should return.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
public Repository getRepositories(int index)
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameter
Returns
public Repository.Builder getRepositoriesBuilder(int index)
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameter
Returns
public List<Repository.Builder> getRepositoriesBuilderList()
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Returns
public int getRepositoriesCount()
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Returns
public List<Repository> getRepositoriesList()
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Returns
public RepositoryOrBuilder getRepositoriesOrBuilder(int index)
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameter
Returns
public List<? extends RepositoryOrBuilder> getRepositoriesOrBuilderList()
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Returns
Type | Description |
List<? extends google.devtools.cloudbuild.v2.RepositoryOrBuilder> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ListRepositoriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListRepositoriesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public ListRepositoriesResponse.Builder mergeFrom(ListRepositoriesResponse other)
Parameter
Returns
public final ListRepositoriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ListRepositoriesResponse.Builder removeRepositories(int index)
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.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)
A token identifying a page of results the server should 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)
A token identifying a page of results the server should 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 list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameters
Returns
public ListRepositoriesResponse.Builder setRepositories(int index, Repository.Builder builderForValue)
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameters
Returns
public final ListRepositoriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides