Send feedback
Class ListSavedQueriesResponse.Builder (3.22.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.22.0 keyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
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 >
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSavedQueriesResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
addSavedQueries(SavedQuery value)
public ListSavedQueriesResponse . Builder addSavedQueries ( SavedQuery value )
A list of savedQueries.
repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;
addSavedQueries(SavedQuery.Builder builderForValue)
public ListSavedQueriesResponse . Builder addSavedQueries ( SavedQuery . Builder builderForValue )
A list of savedQueries.
repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;
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;
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;
addSavedQueriesBuilder()
public SavedQuery . Builder addSavedQueriesBuilder ()
A list of savedQueries.
repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;
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
build()
public ListSavedQueriesResponse build ()
buildPartial()
public ListSavedQueriesResponse buildPartial ()
clear()
public ListSavedQueriesResponse . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListSavedQueriesResponse . Builder clearField ( Descriptors . FieldDescriptor field )
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListSavedQueriesResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearSavedQueries()
public ListSavedQueriesResponse . Builder clearSavedQueries ()
A list of savedQueries.
repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;
clone()
public ListSavedQueriesResponse . Builder clone ()
Overrides
getDefaultInstanceForType()
public ListSavedQueriesResponse getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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
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
getSavedQueriesBuilderList()
public List<SavedQuery . Builder > getSavedQueriesBuilderList ()
A list of savedQueries.
repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;
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;
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
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(ListSavedQueriesResponse other)
public ListSavedQueriesResponse . Builder mergeFrom ( ListSavedQueriesResponse other )
public ListSavedQueriesResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ListSavedQueriesResponse . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSavedQueriesResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
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
setField(Descriptors.FieldDescriptor field, Object value)
public ListSavedQueriesResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
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.
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.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListSavedQueriesResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSavedQueriesResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]