Class ListLinksResponse.Builder (3.20.2)

public static final class ListLinksResponse.Builder extends GeneratedMessageV3.Builder<ListLinksResponse.Builder> implements ListLinksResponseOrBuilder

The response from ListLinks.

Protobuf type google.logging.v2.ListLinksResponse

Static Methods

getDescriptor()

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

Methods

public ListLinksResponse.Builder addAllLinks(Iterable<? extends Link> values)

A list of links.

repeated .google.logging.v2.Link links = 1;

Parameter
Name Description
values Iterable<? extends com.google.logging.v2.Link>
Returns
Type Description
ListLinksResponse.Builder
public ListLinksResponse.Builder addLinks(Link value)

A list of links.

repeated .google.logging.v2.Link links = 1;

Parameter
Name Description
value Link
Returns
Type Description
ListLinksResponse.Builder
public ListLinksResponse.Builder addLinks(Link.Builder builderForValue)

A list of links.

repeated .google.logging.v2.Link links = 1;

Parameter
Name Description
builderForValue Link.Builder
Returns
Type Description
ListLinksResponse.Builder
public ListLinksResponse.Builder addLinks(int index, Link value)

A list of links.

repeated .google.logging.v2.Link links = 1;

Parameters
Name Description
index int
value Link
Returns
Type Description
ListLinksResponse.Builder
public ListLinksResponse.Builder addLinks(int index, Link.Builder builderForValue)

A list of links.

repeated .google.logging.v2.Link links = 1;

Parameters
Name Description
index int
builderForValue Link.Builder
Returns
Type Description
ListLinksResponse.Builder

addLinksBuilder()

public Link.Builder addLinksBuilder()

A list of links.

repeated .google.logging.v2.Link links = 1;

Returns
Type Description
Link.Builder

addLinksBuilder(int index)

public Link.Builder addLinksBuilder(int index)

A list of links.

repeated .google.logging.v2.Link links = 1;

Parameter
Name Description
index int
Returns
Type Description
Link.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListLinksResponse build()
Returns
Type Description
ListLinksResponse

buildPartial()

public ListLinksResponse buildPartial()
Returns
Type Description
ListLinksResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

A list of links.

repeated .google.logging.v2.Link links = 1;

Returns
Type Description
ListLinksResponse.Builder

clearNextPageToken()

public ListLinksResponse.Builder clearNextPageToken()

If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.

string next_page_token = 2;

Returns
Type Description
ListLinksResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListLinksResponse getDefaultInstanceForType()
Returns
Type Description
ListLinksResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides
public Link getLinks(int index)

A list of links.

repeated .google.logging.v2.Link links = 1;

Parameter
Name Description
index int
Returns
Type Description
Link

getLinksBuilder(int index)

public Link.Builder getLinksBuilder(int index)

A list of links.

repeated .google.logging.v2.Link links = 1;

Parameter
Name Description
index int
Returns
Type Description
Link.Builder

getLinksBuilderList()

public List<Link.Builder> getLinksBuilderList()

A list of links.

repeated .google.logging.v2.Link links = 1;

Returns
Type Description
List<Builder>

getLinksCount()

public int getLinksCount()

A list of links.

repeated .google.logging.v2.Link links = 1;

Returns
Type Description
int
public List<Link> getLinksList()

A list of links.

repeated .google.logging.v2.Link links = 1;

Returns
Type Description
List<Link>

getLinksOrBuilder(int index)

public LinkOrBuilder getLinksOrBuilder(int index)

A list of links.

repeated .google.logging.v2.Link links = 1;

Parameter
Name Description
index int
Returns
Type Description
LinkOrBuilder

getLinksOrBuilderList()

public List<? extends LinkOrBuilder> getLinksOrBuilderList()

A list of links.

repeated .google.logging.v2.Link links = 1;

Returns
Type Description
List<? extends com.google.logging.v2.LinkOrBuilder>

getNextPageToken()

public String getNextPageToken()

If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.

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(ListLinksResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

A list of links.

repeated .google.logging.v2.Link links = 1;

Parameter
Name Description
index int
Returns
Type Description
ListLinksResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListLinksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListLinksResponse.Builder
Overrides
public ListLinksResponse.Builder setLinks(int index, Link value)

A list of links.

repeated .google.logging.v2.Link links = 1;

Parameters
Name Description
index int
value Link
Returns
Type Description
ListLinksResponse.Builder
public ListLinksResponse.Builder setLinks(int index, Link.Builder builderForValue)

A list of links.

repeated .google.logging.v2.Link links = 1;

Parameters
Name Description
index int
builderForValue Link.Builder
Returns
Type Description
ListLinksResponse.Builder

setNextPageToken(String value)

public ListLinksResponse.Builder setNextPageToken(String value)

If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListLinksResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListLinksResponse.Builder setNextPageTokenBytes(ByteString value)

If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListLinksResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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