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.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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllRepositories(Iterable<? extends Repository> values)
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 com.google.cloudbuild.v2.Repository>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListRepositoriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addRepositories(Repository value)
public ListRepositoriesResponse.Builder addRepositories(Repository value)
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
addRepositories(Repository.Builder builderForValue)
public ListRepositoriesResponse.Builder addRepositories(Repository.Builder builderForValue)
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
addRepositories(int index, Repository value)
public ListRepositoriesResponse.Builder addRepositories(int index, Repository value)
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
addRepositories(int index, Repository.Builder builderForValue)
public ListRepositoriesResponse.Builder addRepositories(int index, Repository.Builder builderForValue)
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
addRepositoriesBuilder()
public Repository.Builder addRepositoriesBuilder()
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
addRepositoriesBuilder(int index)
public Repository.Builder addRepositoriesBuilder(int index)
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameter |
Name |
Description |
index |
int
|
build()
public ListRepositoriesResponse build()
buildPartial()
public ListRepositoriesResponse buildPartial()
clear()
public ListRepositoriesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListRepositoriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListRepositoriesResponse.Builder clearNextPageToken()
A token identifying a page of results the server should return.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListRepositoriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRepositories()
public ListRepositoriesResponse.Builder clearRepositories()
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
clone()
public ListRepositoriesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListRepositoriesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
getRepositories(int index)
public Repository getRepositories(int index)
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameter |
Name |
Description |
index |
int
|
getRepositoriesBuilder(int index)
public Repository.Builder getRepositoriesBuilder(int index)
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameter |
Name |
Description |
index |
int
|
getRepositoriesBuilderList()
public List<Repository.Builder> getRepositoriesBuilderList()
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
getRepositoriesCount()
public int getRepositoriesCount()
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Returns |
Type |
Description |
int |
|
getRepositoriesList()
public List<Repository> getRepositoriesList()
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
getRepositoriesOrBuilder(int index)
public RepositoryOrBuilder getRepositoriesOrBuilder(int index)
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameter |
Name |
Description |
index |
int
|
getRepositoriesOrBuilderList()
public List<? extends RepositoryOrBuilder> getRepositoriesOrBuilderList()
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Returns |
Type |
Description |
List<? extends com.google.cloudbuild.v2.RepositoryOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListRepositoriesResponse other)
public ListRepositoriesResponse.Builder mergeFrom(ListRepositoriesResponse other)
public ListRepositoriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListRepositoriesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListRepositoriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeRepositories(int index)
public ListRepositoriesResponse.Builder removeRepositories(int index)
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListRepositoriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListRepositoriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRepositories(int index, Repository value)
public ListRepositoriesResponse.Builder setRepositories(int index, Repository value)
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
setRepositories(int index, Repository.Builder builderForValue)
public ListRepositoriesResponse.Builder setRepositories(int index, Repository.Builder builderForValue)
The list of Repositories.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListRepositoriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides