Class ListGitRepositoryLinksResponse.Builder (0.1.0)

public static final class ListGitRepositoryLinksResponse.Builder extends GeneratedMessageV3.Builder<ListGitRepositoryLinksResponse.Builder> implements ListGitRepositoryLinksResponseOrBuilder

Message for response to listing GitRepositoryLinks

Protobuf type google.cloud.developerconnect.v1.ListGitRepositoryLinksResponse

Static Methods

getDescriptor()

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

Methods

public ListGitRepositoryLinksResponse.Builder addAllGitRepositoryLinks(Iterable<? extends GitRepositoryLink> values)

The list of GitRepositoryLinks

repeated .google.cloud.developerconnect.v1.GitRepositoryLink git_repository_links = 1;

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

addAllUnreachable(Iterable<String> values)

public ListGitRepositoryLinksResponse.Builder addAllUnreachable(Iterable<String> values)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListGitRepositoryLinksResponse.Builder

This builder for chaining.

public ListGitRepositoryLinksResponse.Builder addGitRepositoryLinks(GitRepositoryLink value)

The list of GitRepositoryLinks

repeated .google.cloud.developerconnect.v1.GitRepositoryLink git_repository_links = 1;

Parameter
Name Description
value GitRepositoryLink
Returns
Type Description
ListGitRepositoryLinksResponse.Builder
public ListGitRepositoryLinksResponse.Builder addGitRepositoryLinks(GitRepositoryLink.Builder builderForValue)

The list of GitRepositoryLinks

repeated .google.cloud.developerconnect.v1.GitRepositoryLink git_repository_links = 1;

Parameter
Name Description
builderForValue GitRepositoryLink.Builder
Returns
Type Description
ListGitRepositoryLinksResponse.Builder
public ListGitRepositoryLinksResponse.Builder addGitRepositoryLinks(int index, GitRepositoryLink value)

The list of GitRepositoryLinks

repeated .google.cloud.developerconnect.v1.GitRepositoryLink git_repository_links = 1;

Parameters
Name Description
index int
value GitRepositoryLink
Returns
Type Description
ListGitRepositoryLinksResponse.Builder
public ListGitRepositoryLinksResponse.Builder addGitRepositoryLinks(int index, GitRepositoryLink.Builder builderForValue)

The list of GitRepositoryLinks

repeated .google.cloud.developerconnect.v1.GitRepositoryLink git_repository_links = 1;

Parameters
Name Description
index int
builderForValue GitRepositoryLink.Builder
Returns
Type Description
ListGitRepositoryLinksResponse.Builder

addGitRepositoryLinksBuilder()

public GitRepositoryLink.Builder addGitRepositoryLinksBuilder()

The list of GitRepositoryLinks

repeated .google.cloud.developerconnect.v1.GitRepositoryLink git_repository_links = 1;

Returns
Type Description
GitRepositoryLink.Builder

addGitRepositoryLinksBuilder(int index)

public GitRepositoryLink.Builder addGitRepositoryLinksBuilder(int index)

The list of GitRepositoryLinks

repeated .google.cloud.developerconnect.v1.GitRepositoryLink git_repository_links = 1;

Parameter
Name Description
index int
Returns
Type Description
GitRepositoryLink.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListGitRepositoryLinksResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListGitRepositoryLinksResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListGitRepositoryLinksResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListGitRepositoryLinksResponse.Builder

This builder for chaining.

build()

public ListGitRepositoryLinksResponse build()
Returns
Type Description
ListGitRepositoryLinksResponse

buildPartial()

public ListGitRepositoryLinksResponse buildPartial()
Returns
Type Description
ListGitRepositoryLinksResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

The list of GitRepositoryLinks

repeated .google.cloud.developerconnect.v1.GitRepositoryLink git_repository_links = 1;

Returns
Type Description
ListGitRepositoryLinksResponse.Builder

clearNextPageToken()

public ListGitRepositoryLinksResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListGitRepositoryLinksResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListGitRepositoryLinksResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListGitRepositoryLinksResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListGitRepositoryLinksResponse getDefaultInstanceForType()
Returns
Type Description
ListGitRepositoryLinksResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides
public GitRepositoryLink getGitRepositoryLinks(int index)

The list of GitRepositoryLinks

repeated .google.cloud.developerconnect.v1.GitRepositoryLink git_repository_links = 1;

Parameter
Name Description
index int
Returns
Type Description
GitRepositoryLink

getGitRepositoryLinksBuilder(int index)

public GitRepositoryLink.Builder getGitRepositoryLinksBuilder(int index)

The list of GitRepositoryLinks

repeated .google.cloud.developerconnect.v1.GitRepositoryLink git_repository_links = 1;

Parameter
Name Description
index int
Returns
Type Description
GitRepositoryLink.Builder

getGitRepositoryLinksBuilderList()

public List<GitRepositoryLink.Builder> getGitRepositoryLinksBuilderList()

The list of GitRepositoryLinks

repeated .google.cloud.developerconnect.v1.GitRepositoryLink git_repository_links = 1;

Returns
Type Description
List<Builder>

getGitRepositoryLinksCount()

public int getGitRepositoryLinksCount()

The list of GitRepositoryLinks

repeated .google.cloud.developerconnect.v1.GitRepositoryLink git_repository_links = 1;

Returns
Type Description
int
public List<GitRepositoryLink> getGitRepositoryLinksList()

The list of GitRepositoryLinks

repeated .google.cloud.developerconnect.v1.GitRepositoryLink git_repository_links = 1;

Returns
Type Description
List<GitRepositoryLink>

getGitRepositoryLinksOrBuilder(int index)

public GitRepositoryLinkOrBuilder getGitRepositoryLinksOrBuilder(int index)

The list of GitRepositoryLinks

repeated .google.cloud.developerconnect.v1.GitRepositoryLink git_repository_links = 1;

Parameter
Name Description
index int
Returns
Type Description
GitRepositoryLinkOrBuilder

getGitRepositoryLinksOrBuilderList()

public List<? extends GitRepositoryLinkOrBuilder> getGitRepositoryLinksOrBuilderList()

The list of GitRepositoryLinks

repeated .google.cloud.developerconnect.v1.GitRepositoryLink git_repository_links = 1;

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

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.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListGitRepositoryLinksResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListGitRepositoryLinksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListGitRepositoryLinksResponse.Builder
Overrides
public ListGitRepositoryLinksResponse.Builder removeGitRepositoryLinks(int index)

The list of GitRepositoryLinks

repeated .google.cloud.developerconnect.v1.GitRepositoryLink git_repository_links = 1;

Parameter
Name Description
index int
Returns
Type Description
ListGitRepositoryLinksResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListGitRepositoryLinksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListGitRepositoryLinksResponse.Builder
Overrides
public ListGitRepositoryLinksResponse.Builder setGitRepositoryLinks(int index, GitRepositoryLink value)

The list of GitRepositoryLinks

repeated .google.cloud.developerconnect.v1.GitRepositoryLink git_repository_links = 1;

Parameters
Name Description
index int
value GitRepositoryLink
Returns
Type Description
ListGitRepositoryLinksResponse.Builder
public ListGitRepositoryLinksResponse.Builder setGitRepositoryLinks(int index, GitRepositoryLink.Builder builderForValue)

The list of GitRepositoryLinks

repeated .google.cloud.developerconnect.v1.GitRepositoryLink git_repository_links = 1;

Parameters
Name Description
index int
builderForValue GitRepositoryLink.Builder
Returns
Type Description
ListGitRepositoryLinksResponse.Builder

setNextPageToken(String value)

public ListGitRepositoryLinksResponse.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
ListGitRepositoryLinksResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListGitRepositoryLinksResponse.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
ListGitRepositoryLinksResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListGitRepositoryLinksResponse.Builder setUnreachable(int index, String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListGitRepositoryLinksResponse.Builder

This builder for chaining.