public static final class ListWatchlistsResponse.Builder extends GeneratedMessageV3.Builder<ListWatchlistsResponse.Builder> implements ListWatchlistsResponseOrBuilder
Response message for listing watchlists.
Protobuf type google.cloud.chronicle.v1.ListWatchlistsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListWatchlistsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
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];
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];
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];
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];
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
|
build()
public ListWatchlistsResponse build()
buildPartial()
public ListWatchlistsResponse buildPartial()
clear()
public ListWatchlistsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListWatchlistsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public ListWatchlistsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
clone()
public ListWatchlistsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListWatchlistsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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
|
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
|
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];
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];
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
|
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListWatchlistsResponse other)
public ListWatchlistsResponse.Builder mergeFrom(ListWatchlistsResponse other)
public ListWatchlistsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListWatchlistsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListWatchlistsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListWatchlistsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The nextPageToken to set.
|
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 |
ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListWatchlistsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListWatchlistsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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];