Class ListFeedsResponse.Builder (3.20.0)

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

Protobuf type google.cloud.asset.v1p2beta1.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)

A list of feeds.

repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1;

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

addFeeds(Feed value)

public ListFeedsResponse.Builder addFeeds(Feed value)

A list of feeds.

repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1;

Parameter
Name Description
value Feed
Returns
Type Description
ListFeedsResponse.Builder

addFeeds(Feed.Builder builderForValue)

public ListFeedsResponse.Builder addFeeds(Feed.Builder builderForValue)

A list of feeds.

repeated .google.cloud.asset.v1p2beta1.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)

A list of feeds.

repeated .google.cloud.asset.v1p2beta1.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)

A list of feeds.

repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1;

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

addFeedsBuilder()

public Feed.Builder addFeedsBuilder()

A list of feeds.

repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1;

Returns
Type Description
Feed.Builder

addFeedsBuilder(int index)

public Feed.Builder addFeedsBuilder(int index)

A list of feeds.

repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1;

Parameter
Name Description
index int
Returns
Type Description
Feed.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListFeedsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListFeedsResponse.Builder
Overrides

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()

A list of feeds.

repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1;

Returns
Type Description
ListFeedsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListFeedsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListFeedsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListFeedsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListFeedsResponse.Builder
Overrides

clone()

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

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)

A list of feeds.

repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1;

Parameter
Name Description
index int
Returns
Type Description
Feed

getFeedsBuilder(int index)

public Feed.Builder getFeedsBuilder(int index)

A list of feeds.

repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1;

Parameter
Name Description
index int
Returns
Type Description
Feed.Builder

getFeedsBuilderList()

public List<Feed.Builder> getFeedsBuilderList()

A list of feeds.

repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1;

Returns
Type Description
List<Builder>

getFeedsCount()

public int getFeedsCount()

A list of feeds.

repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1;

Returns
Type Description
int

getFeedsList()

public List<Feed> getFeedsList()

A list of feeds.

repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1;

Returns
Type Description
List<Feed>

getFeedsOrBuilder(int index)

public FeedOrBuilder getFeedsOrBuilder(int index)

A list of feeds.

repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1;

Parameter
Name Description
index int
Returns
Type Description
FeedOrBuilder

getFeedsOrBuilderList()

public List<? extends FeedOrBuilder> getFeedsOrBuilderList()

A list of feeds.

repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1;

Returns
Type Description
List<? extends com.google.cloud.asset.v1p2beta1.FeedOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListFeedsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListFeedsResponse.Builder
Overrides

removeFeeds(int index)

public ListFeedsResponse.Builder removeFeeds(int index)

A list of feeds.

repeated .google.cloud.asset.v1p2beta1.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)

A list of feeds.

repeated .google.cloud.asset.v1p2beta1.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)

A list of feeds.

repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1;

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

setField(Descriptors.FieldDescriptor field, Object value)

public ListFeedsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListFeedsResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListFeedsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListFeedsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListFeedsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListFeedsResponse.Builder
Overrides