Class FetchLinkableGitRepositoriesResponse.Builder (0.10.0)

public static final class FetchLinkableGitRepositoriesResponse.Builder extends GeneratedMessageV3.Builder<FetchLinkableGitRepositoriesResponse.Builder> implements FetchLinkableGitRepositoriesResponseOrBuilder

Response message for FetchLinkableGitRepositories.

Protobuf type google.cloud.developerconnect.v1.FetchLinkableGitRepositoriesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllLinkableGitRepositories(Iterable<? extends LinkableGitRepository> values)

public FetchLinkableGitRepositoriesResponse.Builder addAllLinkableGitRepositories(Iterable<? extends LinkableGitRepository> values)

The git repositories that can be linked to the connection.

repeated .google.cloud.developerconnect.v1.LinkableGitRepository linkable_git_repositories = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.developerconnect.v1.LinkableGitRepository>
Returns
Type Description
FetchLinkableGitRepositoriesResponse.Builder

addLinkableGitRepositories(LinkableGitRepository value)

public FetchLinkableGitRepositoriesResponse.Builder addLinkableGitRepositories(LinkableGitRepository value)

The git repositories that can be linked to the connection.

repeated .google.cloud.developerconnect.v1.LinkableGitRepository linkable_git_repositories = 1;

Parameter
Name Description
value LinkableGitRepository
Returns
Type Description
FetchLinkableGitRepositoriesResponse.Builder

addLinkableGitRepositories(LinkableGitRepository.Builder builderForValue)

public FetchLinkableGitRepositoriesResponse.Builder addLinkableGitRepositories(LinkableGitRepository.Builder builderForValue)

The git repositories that can be linked to the connection.

repeated .google.cloud.developerconnect.v1.LinkableGitRepository linkable_git_repositories = 1;

Parameter
Name Description
builderForValue LinkableGitRepository.Builder
Returns
Type Description
FetchLinkableGitRepositoriesResponse.Builder

addLinkableGitRepositories(int index, LinkableGitRepository value)

public FetchLinkableGitRepositoriesResponse.Builder addLinkableGitRepositories(int index, LinkableGitRepository value)

The git repositories that can be linked to the connection.

repeated .google.cloud.developerconnect.v1.LinkableGitRepository linkable_git_repositories = 1;

Parameters
Name Description
index int
value LinkableGitRepository
Returns
Type Description
FetchLinkableGitRepositoriesResponse.Builder

addLinkableGitRepositories(int index, LinkableGitRepository.Builder builderForValue)

public FetchLinkableGitRepositoriesResponse.Builder addLinkableGitRepositories(int index, LinkableGitRepository.Builder builderForValue)

The git repositories that can be linked to the connection.

repeated .google.cloud.developerconnect.v1.LinkableGitRepository linkable_git_repositories = 1;

Parameters
Name Description
index int
builderForValue LinkableGitRepository.Builder
Returns
Type Description
FetchLinkableGitRepositoriesResponse.Builder

addLinkableGitRepositoriesBuilder()

public LinkableGitRepository.Builder addLinkableGitRepositoriesBuilder()

The git repositories that can be linked to the connection.

repeated .google.cloud.developerconnect.v1.LinkableGitRepository linkable_git_repositories = 1;

Returns
Type Description
LinkableGitRepository.Builder

addLinkableGitRepositoriesBuilder(int index)

public LinkableGitRepository.Builder addLinkableGitRepositoriesBuilder(int index)

The git repositories that can be linked to the connection.

repeated .google.cloud.developerconnect.v1.LinkableGitRepository linkable_git_repositories = 1;

Parameter
Name Description
index int
Returns
Type Description
LinkableGitRepository.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FetchLinkableGitRepositoriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FetchLinkableGitRepositoriesResponse.Builder
Overrides

build()

public FetchLinkableGitRepositoriesResponse build()
Returns
Type Description
FetchLinkableGitRepositoriesResponse

buildPartial()

public FetchLinkableGitRepositoriesResponse buildPartial()
Returns
Type Description
FetchLinkableGitRepositoriesResponse

clear()

public FetchLinkableGitRepositoriesResponse.Builder clear()
Returns
Type Description
FetchLinkableGitRepositoriesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FetchLinkableGitRepositoriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FetchLinkableGitRepositoriesResponse.Builder
Overrides

clearLinkableGitRepositories()

public FetchLinkableGitRepositoriesResponse.Builder clearLinkableGitRepositories()

The git repositories that can be linked to the connection.

repeated .google.cloud.developerconnect.v1.LinkableGitRepository linkable_git_repositories = 1;

Returns
Type Description
FetchLinkableGitRepositoriesResponse.Builder

clearNextPageToken()

public FetchLinkableGitRepositoriesResponse.Builder clearNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
FetchLinkableGitRepositoriesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FetchLinkableGitRepositoriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FetchLinkableGitRepositoriesResponse.Builder
Overrides

clone()

public FetchLinkableGitRepositoriesResponse.Builder clone()
Returns
Type Description
FetchLinkableGitRepositoriesResponse.Builder
Overrides

getDefaultInstanceForType()

public FetchLinkableGitRepositoriesResponse getDefaultInstanceForType()
Returns
Type Description
FetchLinkableGitRepositoriesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLinkableGitRepositories(int index)

public LinkableGitRepository getLinkableGitRepositories(int index)

The git repositories that can be linked to the connection.

repeated .google.cloud.developerconnect.v1.LinkableGitRepository linkable_git_repositories = 1;

Parameter
Name Description
index int
Returns
Type Description
LinkableGitRepository

getLinkableGitRepositoriesBuilder(int index)

public LinkableGitRepository.Builder getLinkableGitRepositoriesBuilder(int index)

The git repositories that can be linked to the connection.

repeated .google.cloud.developerconnect.v1.LinkableGitRepository linkable_git_repositories = 1;

Parameter
Name Description
index int
Returns
Type Description
LinkableGitRepository.Builder

getLinkableGitRepositoriesBuilderList()

public List<LinkableGitRepository.Builder> getLinkableGitRepositoriesBuilderList()

The git repositories that can be linked to the connection.

repeated .google.cloud.developerconnect.v1.LinkableGitRepository linkable_git_repositories = 1;

Returns
Type Description
List<Builder>

getLinkableGitRepositoriesCount()

public int getLinkableGitRepositoriesCount()

The git repositories that can be linked to the connection.

repeated .google.cloud.developerconnect.v1.LinkableGitRepository linkable_git_repositories = 1;

Returns
Type Description
int

getLinkableGitRepositoriesList()

public List<LinkableGitRepository> getLinkableGitRepositoriesList()

The git repositories that can be linked to the connection.

repeated .google.cloud.developerconnect.v1.LinkableGitRepository linkable_git_repositories = 1;

Returns
Type Description
List<LinkableGitRepository>

getLinkableGitRepositoriesOrBuilder(int index)

public LinkableGitRepositoryOrBuilder getLinkableGitRepositoriesOrBuilder(int index)

The git repositories that can be linked to the connection.

repeated .google.cloud.developerconnect.v1.LinkableGitRepository linkable_git_repositories = 1;

Parameter
Name Description
index int
Returns
Type Description
LinkableGitRepositoryOrBuilder

getLinkableGitRepositoriesOrBuilderList()

public List<? extends LinkableGitRepositoryOrBuilder> getLinkableGitRepositoriesOrBuilderList()

The git repositories that can be linked to the connection.

repeated .google.cloud.developerconnect.v1.LinkableGitRepository linkable_git_repositories = 1;

Returns
Type Description
List<? extends com.google.cloud.developerconnect.v1.LinkableGitRepositoryOrBuilder>

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchLinkableGitRepositoriesResponse other)

public FetchLinkableGitRepositoriesResponse.Builder mergeFrom(FetchLinkableGitRepositoriesResponse other)
Parameter
Name Description
other FetchLinkableGitRepositoriesResponse
Returns
Type Description
FetchLinkableGitRepositoriesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FetchLinkableGitRepositoriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchLinkableGitRepositoriesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FetchLinkableGitRepositoriesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FetchLinkableGitRepositoriesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FetchLinkableGitRepositoriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FetchLinkableGitRepositoriesResponse.Builder
Overrides

removeLinkableGitRepositories(int index)

public FetchLinkableGitRepositoriesResponse.Builder removeLinkableGitRepositories(int index)

The git repositories that can be linked to the connection.

repeated .google.cloud.developerconnect.v1.LinkableGitRepository linkable_git_repositories = 1;

Parameter
Name Description
index int
Returns
Type Description
FetchLinkableGitRepositoriesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public FetchLinkableGitRepositoriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FetchLinkableGitRepositoriesResponse.Builder
Overrides

setLinkableGitRepositories(int index, LinkableGitRepository value)

public FetchLinkableGitRepositoriesResponse.Builder setLinkableGitRepositories(int index, LinkableGitRepository value)

The git repositories that can be linked to the connection.

repeated .google.cloud.developerconnect.v1.LinkableGitRepository linkable_git_repositories = 1;

Parameters
Name Description
index int
value LinkableGitRepository
Returns
Type Description
FetchLinkableGitRepositoriesResponse.Builder

setLinkableGitRepositories(int index, LinkableGitRepository.Builder builderForValue)

public FetchLinkableGitRepositoriesResponse.Builder setLinkableGitRepositories(int index, LinkableGitRepository.Builder builderForValue)

The git repositories that can be linked to the connection.

repeated .google.cloud.developerconnect.v1.LinkableGitRepository linkable_git_repositories = 1;

Parameters
Name Description
index int
builderForValue LinkableGitRepository.Builder
Returns
Type Description
FetchLinkableGitRepositoriesResponse.Builder

setNextPageToken(String value)

public FetchLinkableGitRepositoriesResponse.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
Type Description
FetchLinkableGitRepositoriesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public FetchLinkableGitRepositoriesResponse.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
Type Description
FetchLinkableGitRepositoriesResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FetchLinkableGitRepositoriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FetchLinkableGitRepositoriesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FetchLinkableGitRepositoriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FetchLinkableGitRepositoriesResponse.Builder
Overrides