public static final class ListLinksResponse.Builder extends GeneratedMessage.Builder<ListLinksResponse.Builder> implements ListLinksResponseOrBuilderResponse for listing links.
Protobuf type google.cloud.observability.v1.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)The list of links.
repeated .google.cloud.observability.v1.Link links = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.observability.v1.Link> |
| Returns | |
|---|---|
| Type | Description |
ListLinksResponse.Builder |
|
addLinks(Link value)
public ListLinksResponse.Builder addLinks(Link value)The list of links.
repeated .google.cloud.observability.v1.Link links = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Link |
| Returns | |
|---|---|
| Type | Description |
ListLinksResponse.Builder |
|
addLinks(Link.Builder builderForValue)
public ListLinksResponse.Builder addLinks(Link.Builder builderForValue)The list of links.
repeated .google.cloud.observability.v1.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)The list of links.
repeated .google.cloud.observability.v1.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)The list of links.
repeated .google.cloud.observability.v1.Link links = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Link.Builder |
| Returns | |
|---|---|
| Type | Description |
ListLinksResponse.Builder |
|
addLinksBuilder()
public Link.Builder addLinksBuilder()The list of links.
repeated .google.cloud.observability.v1.Link links = 1;
| Returns | |
|---|---|
| Type | Description |
Link.Builder |
|
addLinksBuilder(int index)
public Link.Builder addLinksBuilder(int index)The list of links.
repeated .google.cloud.observability.v1.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()The list of links.
repeated .google.cloud.observability.v1.Link links = 1;
| Returns | |
|---|---|
| Type | Description |
ListLinksResponse.Builder |
|
clearNextPageToken()
public ListLinksResponse.Builder clearNextPageToken() Optional. A token that can be sent as page_token to retrieve the next
page. When this field is omitted, there are no subsequent pages.
string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
| 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)The list of links.
repeated .google.cloud.observability.v1.Link links = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Link |
|
getLinksBuilder(int index)
public Link.Builder getLinksBuilder(int index)The list of links.
repeated .google.cloud.observability.v1.Link links = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Link.Builder |
|
getLinksBuilderList()
public List<Link.Builder> getLinksBuilderList()The list of links.
repeated .google.cloud.observability.v1.Link links = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getLinksCount()
public int getLinksCount()The list of links.
repeated .google.cloud.observability.v1.Link links = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getLinksList()
public List<Link> getLinksList()The list of links.
repeated .google.cloud.observability.v1.Link links = 1;
| Returns | |
|---|---|
| Type | Description |
List<Link> |
|
getLinksOrBuilder(int index)
public LinkOrBuilder getLinksOrBuilder(int index)The list of links.
repeated .google.cloud.observability.v1.Link links = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LinkOrBuilder |
|
getLinksOrBuilderList()
public List<? extends LinkOrBuilder> getLinksOrBuilderList()The list of links.
repeated .google.cloud.observability.v1.Link links = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.observability.v1.LinkOrBuilder> |
|
getNextPageToken()
public String getNextPageToken() Optional. A token that can be sent as page_token to retrieve the next
page. When this field is omitted, there are no subsequent pages.
string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes() Optional. A token that can be sent as page_token to retrieve the next
page. When this field is omitted, there are no subsequent pages.
string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
| 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)The list of links.
repeated .google.cloud.observability.v1.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)The list of links.
repeated .google.cloud.observability.v1.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)The list of links.
repeated .google.cloud.observability.v1.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) Optional. A token that can be sent as page_token to retrieve the next
page. When this field is omitted, there are no subsequent pages.
string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
| 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) Optional. A token that can be sent as page_token to retrieve the next
page. When this field is omitted, there are no subsequent pages.
string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListLinksResponse.Builder |
This builder for chaining. |