public static final class ListWatchlistsResponse.Builder extends GeneratedMessage.Builder<ListWatchlistsResponse.Builder> implements ListWatchlistsResponseOrBuilderResponse message for listing watchlists.
Protobuf type google.cloud.chronicle.v1.ListWatchlistsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListWatchlistsResponse.BuilderImplements
ListWatchlistsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllWatchlists(Iterable<? extends Watchlist> values)
public ListWatchlistsResponse.Builder addAllWatchlists(Iterable<? extends Watchlist> values)Optional. The watchlists from the specified instance.
repeated .google.cloud.chronicle.v1.Watchlist watchlists = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.chronicle.v1.Watchlist> |
| Returns | |
|---|---|
| Type | Description |
ListWatchlistsResponse.Builder |
|
addWatchlists(Watchlist value)
public ListWatchlistsResponse.Builder addWatchlists(Watchlist value)Optional. The watchlists from the specified instance.
repeated .google.cloud.chronicle.v1.Watchlist watchlists = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Watchlist |
| Returns | |
|---|---|
| Type | Description |
ListWatchlistsResponse.Builder |
|
addWatchlists(Watchlist.Builder builderForValue)
public ListWatchlistsResponse.Builder addWatchlists(Watchlist.Builder builderForValue)Optional. The watchlists from the specified instance.
repeated .google.cloud.chronicle.v1.Watchlist watchlists = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Watchlist.Builder |
| Returns | |
|---|---|
| Type | Description |
ListWatchlistsResponse.Builder |
|
addWatchlists(int index, Watchlist value)
public ListWatchlistsResponse.Builder addWatchlists(int index, Watchlist value)Optional. The watchlists from the specified instance.
repeated .google.cloud.chronicle.v1.Watchlist watchlists = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Watchlist |
| Returns | |
|---|---|
| Type | Description |
ListWatchlistsResponse.Builder |
|
addWatchlists(int index, Watchlist.Builder builderForValue)
public ListWatchlistsResponse.Builder addWatchlists(int index, Watchlist.Builder builderForValue)Optional. The watchlists from the specified instance.
repeated .google.cloud.chronicle.v1.Watchlist watchlists = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Watchlist.Builder |
| Returns | |
|---|---|
| Type | Description |
ListWatchlistsResponse.Builder |
|
addWatchlistsBuilder()
public Watchlist.Builder addWatchlistsBuilder()Optional. The watchlists from the specified instance.
repeated .google.cloud.chronicle.v1.Watchlist watchlists = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Watchlist.Builder |
|
addWatchlistsBuilder(int index)
public Watchlist.Builder addWatchlistsBuilder(int index)Optional. The watchlists from the specified instance.
repeated .google.cloud.chronicle.v1.Watchlist watchlists = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Watchlist.Builder |
|
build()
public ListWatchlistsResponse build()| Returns | |
|---|---|
| Type | Description |
ListWatchlistsResponse |
|
buildPartial()
public ListWatchlistsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListWatchlistsResponse |
|
clear()
public ListWatchlistsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListWatchlistsResponse.Builder |
|
clearNextPageToken()
public ListWatchlistsResponse.Builder clearNextPageToken() Optional. A token, which can be sent as page_token to retrieve the next
page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ListWatchlistsResponse.Builder |
This builder for chaining. |
clearWatchlists()
public ListWatchlistsResponse.Builder clearWatchlists()Optional. The watchlists from the specified instance.
repeated .google.cloud.chronicle.v1.Watchlist watchlists = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ListWatchlistsResponse.Builder |
|
getDefaultInstanceForType()
public ListWatchlistsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListWatchlistsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken() Optional. A token, which can be sent as page_token to retrieve the next
page. If 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, which can be sent as page_token to retrieve the next
page. If 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. |
getWatchlists(int index)
public Watchlist getWatchlists(int index)Optional. The watchlists from the specified instance.
repeated .google.cloud.chronicle.v1.Watchlist watchlists = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Watchlist |
|
getWatchlistsBuilder(int index)
public Watchlist.Builder getWatchlistsBuilder(int index)Optional. The watchlists from the specified instance.
repeated .google.cloud.chronicle.v1.Watchlist watchlists = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Watchlist.Builder |
|
getWatchlistsBuilderList()
public List<Watchlist.Builder> getWatchlistsBuilderList()Optional. The watchlists from the specified instance.
repeated .google.cloud.chronicle.v1.Watchlist watchlists = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getWatchlistsCount()
public int getWatchlistsCount()Optional. The watchlists from the specified instance.
repeated .google.cloud.chronicle.v1.Watchlist watchlists = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getWatchlistsList()
public List<Watchlist> getWatchlistsList()Optional. The watchlists from the specified instance.
repeated .google.cloud.chronicle.v1.Watchlist watchlists = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Watchlist> |
|
getWatchlistsOrBuilder(int index)
public WatchlistOrBuilder getWatchlistsOrBuilder(int index)Optional. The watchlists from the specified instance.
repeated .google.cloud.chronicle.v1.Watchlist watchlists = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
WatchlistOrBuilder |
|
getWatchlistsOrBuilderList()
public List<? extends WatchlistOrBuilder> getWatchlistsOrBuilderList()Optional. The watchlists from the specified instance.
repeated .google.cloud.chronicle.v1.Watchlist watchlists = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.chronicle.v1.WatchlistOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListWatchlistsResponse other)
public ListWatchlistsResponse.Builder mergeFrom(ListWatchlistsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListWatchlistsResponse |
| Returns | |
|---|---|
| Type | Description |
ListWatchlistsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListWatchlistsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListWatchlistsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListWatchlistsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListWatchlistsResponse.Builder |
|
removeWatchlists(int index)
public ListWatchlistsResponse.Builder removeWatchlists(int index)Optional. The watchlists from the specified instance.
repeated .google.cloud.chronicle.v1.Watchlist watchlists = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListWatchlistsResponse.Builder |
|
setNextPageToken(String value)
public ListWatchlistsResponse.Builder setNextPageToken(String value) Optional. A token, which can be sent as page_token to retrieve the next
page. If 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 |
ListWatchlistsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListWatchlistsResponse.Builder setNextPageTokenBytes(ByteString value) Optional. A token, which can be sent as page_token to retrieve the next
page. If 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 |
ListWatchlistsResponse.Builder |
This builder for chaining. |
setWatchlists(int index, Watchlist value)
public ListWatchlistsResponse.Builder setWatchlists(int index, Watchlist value)Optional. The watchlists from the specified instance.
repeated .google.cloud.chronicle.v1.Watchlist watchlists = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Watchlist |
| Returns | |
|---|---|
| Type | Description |
ListWatchlistsResponse.Builder |
|
setWatchlists(int index, Watchlist.Builder builderForValue)
public ListWatchlistsResponse.Builder setWatchlists(int index, Watchlist.Builder builderForValue)Optional. The watchlists from the specified instance.
repeated .google.cloud.chronicle.v1.Watchlist watchlists = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Watchlist.Builder |
| Returns | |
|---|---|
| Type | Description |
ListWatchlistsResponse.Builder |
|