public static final class FetchLinkableRepositoriesResponse.Builder extends GeneratedMessageV3.Builder<FetchLinkableRepositoriesResponse.Builder> implements FetchLinkableRepositoriesResponseOrBuilder
Response message for FetchLinkableRepositories.
Protobuf type google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse
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 FetchLinkableRepositoriesResponse.Builder addAllRepositories(Iterable<? extends Repository> values)
repositories ready to be created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameter
Name | Description |
values | Iterable<? extends google.devtools.cloudbuild.v2.Repository>
|
Returns
public FetchLinkableRepositoriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public FetchLinkableRepositoriesResponse.Builder addRepositories(Repository value)
repositories ready to be created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameter
Returns
public FetchLinkableRepositoriesResponse.Builder addRepositories(Repository.Builder builderForValue)
repositories ready to be created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameter
Returns
public FetchLinkableRepositoriesResponse.Builder addRepositories(int index, Repository value)
repositories ready to be created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameters
Returns
public FetchLinkableRepositoriesResponse.Builder addRepositories(int index, Repository.Builder builderForValue)
repositories ready to be created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameters
Returns
public Repository.Builder addRepositoriesBuilder()
repositories ready to be created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Returns
public Repository.Builder addRepositoriesBuilder(int index)
repositories ready to be created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameter
Returns
public FetchLinkableRepositoriesResponse build()
Returns
public FetchLinkableRepositoriesResponse buildPartial()
Returns
public FetchLinkableRepositoriesResponse.Builder clear()
Returns
Overrides
public FetchLinkableRepositoriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public FetchLinkableRepositoriesResponse.Builder clearNextPageToken()
A token identifying a page of results the server should return.
string next_page_token = 2;
Returns
public FetchLinkableRepositoriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public FetchLinkableRepositoriesResponse.Builder clearRepositories()
repositories ready to be created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Returns
public FetchLinkableRepositoriesResponse.Builder clone()
Returns
Overrides
public FetchLinkableRepositoriesResponse 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)
repositories ready to be created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameter
Returns
public Repository.Builder getRepositoriesBuilder(int index)
repositories ready to be created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameter
Returns
public List<Repository.Builder> getRepositoriesBuilderList()
repositories ready to be created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Returns
public int getRepositoriesCount()
repositories ready to be created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Returns
public List<Repository> getRepositoriesList()
repositories ready to be created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Returns
public RepositoryOrBuilder getRepositoriesOrBuilder(int index)
repositories ready to be created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameter
Returns
public List<? extends RepositoryOrBuilder> getRepositoriesOrBuilderList()
repositories ready to be created.
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 FetchLinkableRepositoriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public FetchLinkableRepositoriesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public FetchLinkableRepositoriesResponse.Builder mergeFrom(FetchLinkableRepositoriesResponse other)
Parameter
Returns
public final FetchLinkableRepositoriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public FetchLinkableRepositoriesResponse.Builder removeRepositories(int index)
repositories ready to be created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameter
Returns
public FetchLinkableRepositoriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public FetchLinkableRepositoriesResponse.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 FetchLinkableRepositoriesResponse.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 FetchLinkableRepositoriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public FetchLinkableRepositoriesResponse.Builder setRepositories(int index, Repository value)
repositories ready to be created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameters
Returns
public FetchLinkableRepositoriesResponse.Builder setRepositories(int index, Repository.Builder builderForValue)
repositories ready to be created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameters
Returns
public final FetchLinkableRepositoriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides