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()
Returns
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSavedQueriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addSavedQueries(SavedQuery value)
public ListSavedQueriesResponse.Builder addSavedQueries(SavedQuery value)
A list of savedQueries.
repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;
Parameter
Returns
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
Returns
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
Returns
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
Returns
addSavedQueriesBuilder()
public SavedQuery.Builder addSavedQueriesBuilder()
A list of savedQueries.
repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;
Returns
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
build()
public ListSavedQueriesResponse build()
Returns
buildPartial()
public ListSavedQueriesResponse buildPartial()
Returns
clear()
public ListSavedQueriesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListSavedQueriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListSavedQueriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSavedQueries()
public ListSavedQueriesResponse.Builder clearSavedQueries()
A list of savedQueries.
repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;
Returns
clone()
public ListSavedQueriesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListSavedQueriesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
getSavedQueriesBuilderList()
public List<SavedQuery.Builder> getSavedQueriesBuilderList()
A list of savedQueries.
repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;
Returns
getSavedQueriesCount()
public int getSavedQueriesCount()
A list of savedQueries.
repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;
Returns
getSavedQueriesList()
public List<SavedQuery> getSavedQueriesList()
A list of savedQueries.
repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;
Returns
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListSavedQueriesResponse other)
public ListSavedQueriesResponse.Builder mergeFrom(ListSavedQueriesResponse other)
Parameter
Returns
public ListSavedQueriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListSavedQueriesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSavedQueriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public ListSavedQueriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListSavedQueriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSavedQueriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides