Class ListFeedsResponse.Builder (3.7.1)

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

Protobuf type google.cloud.asset.v1.ListFeedsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllFeeds(Iterable<? extends Feed> values)

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

A list of feeds.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.asset.v1.Feed>
Returns
TypeDescription
ListFeedsResponse.Builder

addFeeds(Feed value)

public ListFeedsResponse.Builder addFeeds(Feed value)

A list of feeds.

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

Parameter
NameDescription
valueFeed
Returns
TypeDescription
ListFeedsResponse.Builder

addFeeds(Feed.Builder builderForValue)

public ListFeedsResponse.Builder addFeeds(Feed.Builder builderForValue)

A list of feeds.

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

Parameter
NameDescription
builderForValueFeed.Builder
Returns
TypeDescription
ListFeedsResponse.Builder

addFeeds(int index, Feed value)

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

A list of feeds.

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

Parameters
NameDescription
indexint
valueFeed
Returns
TypeDescription
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.v1.Feed feeds = 1;

Parameters
NameDescription
indexint
builderForValueFeed.Builder
Returns
TypeDescription
ListFeedsResponse.Builder

addFeedsBuilder()

public Feed.Builder addFeedsBuilder()

A list of feeds.

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

Returns
TypeDescription
Feed.Builder

addFeedsBuilder(int index)

public Feed.Builder addFeedsBuilder(int index)

A list of feeds.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Feed.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListFeedsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListFeedsResponse.Builder
Overrides

build()

public ListFeedsResponse build()
Returns
TypeDescription
ListFeedsResponse

buildPartial()

public ListFeedsResponse buildPartial()
Returns
TypeDescription
ListFeedsResponse

clear()

public ListFeedsResponse.Builder clear()
Returns
TypeDescription
ListFeedsResponse.Builder
Overrides

clearFeeds()

public ListFeedsResponse.Builder clearFeeds()

A list of feeds.

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

Returns
TypeDescription
ListFeedsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListFeedsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListFeedsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListFeedsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListFeedsResponse.Builder
Overrides

clone()

public ListFeedsResponse.Builder clone()
Returns
TypeDescription
ListFeedsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListFeedsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListFeedsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFeeds(int index)

public Feed getFeeds(int index)

A list of feeds.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Feed

getFeedsBuilder(int index)

public Feed.Builder getFeedsBuilder(int index)

A list of feeds.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Feed.Builder

getFeedsBuilderList()

public List<Feed.Builder> getFeedsBuilderList()

A list of feeds.

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

Returns
TypeDescription
List<Builder>

getFeedsCount()

public int getFeedsCount()

A list of feeds.

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

Returns
TypeDescription
int

getFeedsList()

public List<Feed> getFeedsList()

A list of feeds.

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

Returns
TypeDescription
List<Feed>

getFeedsOrBuilder(int index)

public FeedOrBuilder getFeedsOrBuilder(int index)

A list of feeds.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FeedOrBuilder

getFeedsOrBuilderList()

public List<? extends FeedOrBuilder> getFeedsOrBuilderList()

A list of feeds.

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

Returns
TypeDescription
List<? extends com.google.cloud.asset.v1.FeedOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListFeedsResponse other)

public ListFeedsResponse.Builder mergeFrom(ListFeedsResponse other)
Parameter
NameDescription
otherListFeedsResponse
Returns
TypeDescription
ListFeedsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListFeedsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListFeedsResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListFeedsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListFeedsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListFeedsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListFeedsResponse.Builder
Overrides

removeFeeds(int index)

public ListFeedsResponse.Builder removeFeeds(int index)

A list of feeds.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListFeedsResponse.Builder

setFeeds(int index, Feed value)

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

A list of feeds.

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

Parameters
NameDescription
indexint
valueFeed
Returns
TypeDescription
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.v1.Feed feeds = 1;

Parameters
NameDescription
indexint
builderForValueFeed.Builder
Returns
TypeDescription
ListFeedsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListFeedsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListFeedsResponse.Builder
Overrides

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

public ListFeedsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListFeedsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListFeedsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListFeedsResponse.Builder
Overrides