Class ListSavedQueriesResponse.Builder (3.44.0)

public static final class ListSavedQueriesResponse.Builder extends GeneratedMessageV3.Builder<ListSavedQueriesResponse.Builder> implements ListSavedQueriesResponseOrBuilder

Response of listing saved queries.

Protobuf type google.cloud.asset.v1.ListSavedQueriesResponse

Static Methods

getDescriptor()

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

Methods

addAllSavedQueries(Iterable<? extends SavedQuery> values)

public ListSavedQueriesResponse.Builder addAllSavedQueries(Iterable<? extends SavedQuery> values)

A list of savedQueries.

repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.asset.v1.SavedQuery>
Returns
Type Description
ListSavedQueriesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSavedQueries(SavedQuery value)

public ListSavedQueriesResponse.Builder addSavedQueries(SavedQuery value)

A list of savedQueries.

repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;

Parameter
Name Description
value SavedQuery
Returns
Type Description
ListSavedQueriesResponse.Builder

addSavedQueries(SavedQuery.Builder builderForValue)

public ListSavedQueriesResponse.Builder addSavedQueries(SavedQuery.Builder builderForValue)

A list of savedQueries.

repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;

Parameter
Name Description
builderForValue SavedQuery.Builder
Returns
Type Description
ListSavedQueriesResponse.Builder

addSavedQueries(int index, SavedQuery value)

public ListSavedQueriesResponse.Builder addSavedQueries(int index, SavedQuery value)

A list of savedQueries.

repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;

Parameters
Name Description
index int
value SavedQuery
Returns
Type Description
ListSavedQueriesResponse.Builder

addSavedQueries(int index, SavedQuery.Builder builderForValue)

public ListSavedQueriesResponse.Builder addSavedQueries(int index, SavedQuery.Builder builderForValue)

A list of savedQueries.

repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;

Parameters
Name Description
index int
builderForValue SavedQuery.Builder
Returns
Type Description
ListSavedQueriesResponse.Builder

addSavedQueriesBuilder()

public SavedQuery.Builder addSavedQueriesBuilder()

A list of savedQueries.

repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;

Returns
Type Description
SavedQuery.Builder

addSavedQueriesBuilder(int index)

public SavedQuery.Builder addSavedQueriesBuilder(int index)

A list of savedQueries.

repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;

Parameter
Name Description
index int
Returns
Type Description
SavedQuery.Builder

build()

public ListSavedQueriesResponse build()
Returns
Type Description
ListSavedQueriesResponse

buildPartial()

public ListSavedQueriesResponse buildPartial()
Returns
Type Description
ListSavedQueriesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListSavedQueriesResponse.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
ListSavedQueriesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSavedQueries()

public ListSavedQueriesResponse.Builder clearSavedQueries()

A list of savedQueries.

repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;

Returns
Type Description
ListSavedQueriesResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListSavedQueriesResponse getDefaultInstanceForType()
Returns
Type Description
ListSavedQueriesResponse

getDescriptorForType()

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

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.

getSavedQueries(int index)

public SavedQuery getSavedQueries(int index)

A list of savedQueries.

repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;

Parameter
Name Description
index int
Returns
Type Description
SavedQuery

getSavedQueriesBuilder(int index)

public SavedQuery.Builder getSavedQueriesBuilder(int index)

A list of savedQueries.

repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;

Parameter
Name Description
index int
Returns
Type Description
SavedQuery.Builder

getSavedQueriesBuilderList()

public List<SavedQuery.Builder> getSavedQueriesBuilderList()

A list of savedQueries.

repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;

Returns
Type Description
List<Builder>

getSavedQueriesCount()

public int getSavedQueriesCount()

A list of savedQueries.

repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;

Returns
Type Description
int

getSavedQueriesList()

public List<SavedQuery> getSavedQueriesList()

A list of savedQueries.

repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;

Returns
Type Description
List<SavedQuery>

getSavedQueriesOrBuilder(int index)

public SavedQueryOrBuilder getSavedQueriesOrBuilder(int index)

A list of savedQueries.

repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;

Parameter
Name Description
index int
Returns
Type Description
SavedQueryOrBuilder

getSavedQueriesOrBuilderList()

public List<? extends SavedQueryOrBuilder> getSavedQueriesOrBuilderList()

A list of savedQueries.

repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;

Returns
Type Description
List<? extends com.google.cloud.asset.v1.SavedQueryOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListSavedQueriesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSavedQueries(int index)

public ListSavedQueriesResponse.Builder removeSavedQueries(int index)

A list of savedQueries.

repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;

Parameter
Name Description
index int
Returns
Type Description
ListSavedQueriesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListSavedQueriesResponse.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
ListSavedQueriesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListSavedQueriesResponse.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
ListSavedQueriesResponse.Builder

This builder for chaining.

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

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

setSavedQueries(int index, SavedQuery value)

public ListSavedQueriesResponse.Builder setSavedQueries(int index, SavedQuery value)

A list of savedQueries.

repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;

Parameters
Name Description
index int
value SavedQuery
Returns
Type Description
ListSavedQueriesResponse.Builder

setSavedQueries(int index, SavedQuery.Builder builderForValue)

public ListSavedQueriesResponse.Builder setSavedQueries(int index, SavedQuery.Builder builderForValue)

A list of savedQueries.

repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;

Parameters
Name Description
index int
builderForValue SavedQuery.Builder
Returns
Type Description
ListSavedQueriesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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