public static final class ListLinksResponse.Builder extends GeneratedMessage.Builder<ListLinksResponse.Builder> implements ListLinksResponseOrBuilderThe response from ListLinks.
Protobuf type google.logging.v2.ListLinksResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListLinksResponse.BuilderImplements
ListLinksResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllLinks(Iterable<? extends Link> values)
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 |
|
addLinks(Link value)
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 |
|
addLinks(Link.Builder builderForValue)
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 |
|
addLinks(int index, Link value)
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 |
|
addLinks(int index, Link.Builder builderForValue)
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 |
|
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 |
|
clearLinks()
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. |
getDefaultInstanceForType()
public ListLinksResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListLinksResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLinks(int index)
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 |
|
getLinksList()
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListLinksResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListLinksResponse.Builder |
|
removeLinks(int index)
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 |
|
setLinks(int index, Link value)
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 |
|
setLinks(int index, Link.Builder builderForValue)
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 |
StringThe 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 |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListLinksResponse.Builder |
This builder for chaining. |