public static final class ListWatchlistsRequest.Builder extends GeneratedMessageV3.Builder<ListWatchlistsRequest.Builder> implements ListWatchlistsRequestOrBuilder
Request message for listing watchlists.
Protobuf type google.cloud.chronicle.v1.ListWatchlistsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListWatchlistsRequest.BuilderImplements
ListWatchlistsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListWatchlistsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListWatchlistsRequest.Builder |
build()
public ListWatchlistsRequest build()
Returns | |
---|---|
Type | Description |
ListWatchlistsRequest |
buildPartial()
public ListWatchlistsRequest buildPartial()
Returns | |
---|---|
Type | Description |
ListWatchlistsRequest |
clear()
public ListWatchlistsRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ListWatchlistsRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListWatchlistsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListWatchlistsRequest.Builder |
clearFilter()
public ListWatchlistsRequest.Builder clearFilter()
Optional. Which watchlist to return in aip.dev/160 form. Currently, only the following filters are supported:
watchlist_user_preferences.pinned=true
has_entity([ENTITY_INDICATOR],[ENTITY_TYPE])
has_entity([ENTITY_INDICATOR],[ENTITY_TYPE],[NAMESPACE])
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ListWatchlistsRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListWatchlistsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListWatchlistsRequest.Builder |
clearPageSize()
public ListWatchlistsRequest.Builder clearPageSize()
Optional. The maximum number of watchlists to return. The service may return fewer than this value. If unspecified, at most 200 watchlists will be returned. The maximum value is 200; values above 200 will be coerced to 200.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ListWatchlistsRequest.Builder |
This builder for chaining. |
clearPageToken()
public ListWatchlistsRequest.Builder clearPageToken()
Optional. A page token, received from a previous ListWatchlists
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
ListWatchlists
must match the call that provided the page
token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ListWatchlistsRequest.Builder |
This builder for chaining. |
clearParent()
public ListWatchlistsRequest.Builder clearParent()
Required. The parent, which owns this collection of watchlists.
Format: projects/{project}/locations/{location}/instances/{instance}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ListWatchlistsRequest.Builder |
This builder for chaining. |
clone()
public ListWatchlistsRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ListWatchlistsRequest.Builder |
getDefaultInstanceForType()
public ListWatchlistsRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListWatchlistsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFilter()
public String getFilter()
Optional. Which watchlist to return in aip.dev/160 form. Currently, only the following filters are supported:
watchlist_user_preferences.pinned=true
has_entity([ENTITY_INDICATOR],[ENTITY_TYPE])
has_entity([ENTITY_INDICATOR],[ENTITY_TYPE],[NAMESPACE])
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The filter. |
getFilterBytes()
public ByteString getFilterBytes()
Optional. Which watchlist to return in aip.dev/160 form. Currently, only the following filters are supported:
watchlist_user_preferences.pinned=true
has_entity([ENTITY_INDICATOR],[ENTITY_TYPE])
has_entity([ENTITY_INDICATOR],[ENTITY_TYPE],[NAMESPACE])
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for filter. |
getPageSize()
public int getPageSize()
Optional. The maximum number of watchlists to return. The service may return fewer than this value. If unspecified, at most 200 watchlists will be returned. The maximum value is 200; values above 200 will be coerced to 200.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken()
Optional. A page token, received from a previous ListWatchlists
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
ListWatchlists
must match the call that provided the page
token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()
Optional. A page token, received from a previous ListWatchlists
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
ListWatchlists
must match the call that provided the page
token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for pageToken. |
getParent()
public String getParent()
Required. The parent, which owns this collection of watchlists.
Format: projects/{project}/locations/{location}/instances/{instance}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The parent, which owns this collection of watchlists.
Format: projects/{project}/locations/{location}/instances/{instance}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListWatchlistsRequest other)
public ListWatchlistsRequest.Builder mergeFrom(ListWatchlistsRequest other)
Parameter | |
---|---|
Name | Description |
other |
ListWatchlistsRequest |
Returns | |
---|---|
Type | Description |
ListWatchlistsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListWatchlistsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListWatchlistsRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListWatchlistsRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ListWatchlistsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListWatchlistsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListWatchlistsRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListWatchlistsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListWatchlistsRequest.Builder |
setFilter(String value)
public ListWatchlistsRequest.Builder setFilter(String value)
Optional. Which watchlist to return in aip.dev/160 form. Currently, only the following filters are supported:
watchlist_user_preferences.pinned=true
has_entity([ENTITY_INDICATOR],[ENTITY_TYPE])
has_entity([ENTITY_INDICATOR],[ENTITY_TYPE],[NAMESPACE])
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The filter to set. |
Returns | |
---|---|
Type | Description |
ListWatchlistsRequest.Builder |
This builder for chaining. |
setFilterBytes(ByteString value)
public ListWatchlistsRequest.Builder setFilterBytes(ByteString value)
Optional. Which watchlist to return in aip.dev/160 form. Currently, only the following filters are supported:
watchlist_user_preferences.pinned=true
has_entity([ENTITY_INDICATOR],[ENTITY_TYPE])
has_entity([ENTITY_INDICATOR],[ENTITY_TYPE],[NAMESPACE])
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for filter to set. |
Returns | |
---|---|
Type | Description |
ListWatchlistsRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public ListWatchlistsRequest.Builder setPageSize(int value)
Optional. The maximum number of watchlists to return. The service may return fewer than this value. If unspecified, at most 200 watchlists will be returned. The maximum value is 200; values above 200 will be coerced to 200.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
int The pageSize to set. |
Returns | |
---|---|
Type | Description |
ListWatchlistsRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public ListWatchlistsRequest.Builder setPageToken(String value)
Optional. A page token, received from a previous ListWatchlists
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
ListWatchlists
must match the call that provided the page
token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The pageToken to set. |
Returns | |
---|---|
Type | Description |
ListWatchlistsRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListWatchlistsRequest.Builder setPageTokenBytes(ByteString value)
Optional. A page token, received from a previous ListWatchlists
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
ListWatchlists
must match the call that provided the page
token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for pageToken to set. |
Returns | |
---|---|
Type | Description |
ListWatchlistsRequest.Builder |
This builder for chaining. |
setParent(String value)
public ListWatchlistsRequest.Builder setParent(String value)
Required. The parent, which owns this collection of watchlists.
Format: projects/{project}/locations/{location}/instances/{instance}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
ListWatchlistsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ListWatchlistsRequest.Builder setParentBytes(ByteString value)
Required. The parent, which owns this collection of watchlists.
Format: projects/{project}/locations/{location}/instances/{instance}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
ListWatchlistsRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListWatchlistsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ListWatchlistsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListWatchlistsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListWatchlistsRequest.Builder |