Class ListFeedsResponse.Builder (0.37.0)

public static final class ListFeedsResponse.Builder extends GeneratedMessage.Builder<ListFeedsResponse.Builder> implements ListFeedsResponseOrBuilder

Response message for ListFeed.

Protobuf type google.cloud.chronicle.v1.ListFeedsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllFeeds(Iterable<? extends Feed> values)

public ListFeedsResponse.Builder addAllFeeds(Iterable<? extends Feed> values)

List of feeds.

repeated .google.cloud.chronicle.v1.Feed feeds = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.chronicle.v1.Feed>
Returns
Type Description
ListFeedsResponse.Builder

addFeeds(Feed value)

public ListFeedsResponse.Builder addFeeds(Feed value)

List of feeds.

repeated .google.cloud.chronicle.v1.Feed feeds = 1;

Parameter
Name Description
value Feed
Returns
Type Description
ListFeedsResponse.Builder

addFeeds(Feed.Builder builderForValue)

public ListFeedsResponse.Builder addFeeds(Feed.Builder builderForValue)

List of feeds.

repeated .google.cloud.chronicle.v1.Feed feeds = 1;

Parameter
Name Description
builderForValue Feed.Builder
Returns
Type Description
ListFeedsResponse.Builder

addFeeds(int index, Feed value)

public ListFeedsResponse.Builder addFeeds(int index, Feed value)

List of feeds.

repeated .google.cloud.chronicle.v1.Feed feeds = 1;

Parameters
Name Description
index int
value Feed
Returns
Type Description
ListFeedsResponse.Builder

addFeeds(int index, Feed.Builder builderForValue)

public ListFeedsResponse.Builder addFeeds(int index, Feed.Builder builderForValue)

List of feeds.

repeated .google.cloud.chronicle.v1.Feed feeds = 1;

Parameters
Name Description
index int
builderForValue Feed.Builder
Returns
Type Description
ListFeedsResponse.Builder

addFeedsBuilder()

public Feed.Builder addFeedsBuilder()

List of feeds.

repeated .google.cloud.chronicle.v1.Feed feeds = 1;

Returns
Type Description
Feed.Builder

addFeedsBuilder(int index)

public Feed.Builder addFeedsBuilder(int index)

List of feeds.

repeated .google.cloud.chronicle.v1.Feed feeds = 1;

Parameter
Name Description
index int
Returns
Type Description
Feed.Builder

build()

public ListFeedsResponse build()
Returns
Type Description
ListFeedsResponse

buildPartial()

public ListFeedsResponse buildPartial()
Returns
Type Description
ListFeedsResponse

clear()

public ListFeedsResponse.Builder clear()
Returns
Type Description
ListFeedsResponse.Builder
Overrides

clearFeeds()

public ListFeedsResponse.Builder clearFeeds()

List of feeds.

repeated .google.cloud.chronicle.v1.Feed feeds = 1;

Returns
Type Description
ListFeedsResponse.Builder

clearNextPageToken()

public ListFeedsResponse.Builder clearNextPageToken()

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;

Returns
Type Description
ListFeedsResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListFeedsResponse getDefaultInstanceForType()
Returns
Type Description
ListFeedsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFeeds(int index)

public Feed getFeeds(int index)

List of feeds.

repeated .google.cloud.chronicle.v1.Feed feeds = 1;

Parameter
Name Description
index int
Returns
Type Description
Feed

getFeedsBuilder(int index)

public Feed.Builder getFeedsBuilder(int index)

List of feeds.

repeated .google.cloud.chronicle.v1.Feed feeds = 1;

Parameter
Name Description
index int
Returns
Type Description
Feed.Builder

getFeedsBuilderList()

public List<Feed.Builder> getFeedsBuilderList()

List of feeds.

repeated .google.cloud.chronicle.v1.Feed feeds = 1;

Returns
Type Description
List<Builder>

getFeedsCount()

public int getFeedsCount()

List of feeds.

repeated .google.cloud.chronicle.v1.Feed feeds = 1;

Returns
Type Description
int

getFeedsList()

public List<Feed> getFeedsList()

List of feeds.

repeated .google.cloud.chronicle.v1.Feed feeds = 1;

Returns
Type Description
List<Feed>

getFeedsOrBuilder(int index)

public FeedOrBuilder getFeedsOrBuilder(int index)

List of feeds.

repeated .google.cloud.chronicle.v1.Feed feeds = 1;

Parameter
Name Description
index int
Returns
Type Description
FeedOrBuilder

getFeedsOrBuilderList()

public List<? extends FeedOrBuilder> getFeedsOrBuilderList()

List of feeds.

repeated .google.cloud.chronicle.v1.Feed feeds = 1;

Returns
Type Description
List<? extends com.google.cloud.chronicle.v1.FeedOrBuilder>

getNextPageToken()

public String getNextPageToken()

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;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListFeedsResponse other)

public ListFeedsResponse.Builder mergeFrom(ListFeedsResponse other)
Parameter
Name Description
other ListFeedsResponse
Returns
Type Description
ListFeedsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListFeedsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListFeedsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListFeedsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListFeedsResponse.Builder
Overrides

removeFeeds(int index)

public ListFeedsResponse.Builder removeFeeds(int index)

List of feeds.

repeated .google.cloud.chronicle.v1.Feed feeds = 1;

Parameter
Name Description
index int
Returns
Type Description
ListFeedsResponse.Builder

setFeeds(int index, Feed value)

public ListFeedsResponse.Builder setFeeds(int index, Feed value)

List of feeds.

repeated .google.cloud.chronicle.v1.Feed feeds = 1;

Parameters
Name Description
index int
value Feed
Returns
Type Description
ListFeedsResponse.Builder

setFeeds(int index, Feed.Builder builderForValue)

public ListFeedsResponse.Builder setFeeds(int index, Feed.Builder builderForValue)

List of feeds.

repeated .google.cloud.chronicle.v1.Feed feeds = 1;

Parameters
Name Description
index int
builderForValue Feed.Builder
Returns
Type Description
ListFeedsResponse.Builder

setNextPageToken(String value)

public ListFeedsResponse.Builder setNextPageToken(String value)

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;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListFeedsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListFeedsResponse.Builder setNextPageTokenBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListFeedsResponse.Builder

This builder for chaining.