Class ListSavedQueriesResponse (3.7.1)

public final class ListSavedQueriesResponse extends GeneratedMessageV3 implements ListSavedQueriesResponseOrBuilder

Response of listing saved queries.

Protobuf type google.cloud.asset.v1.ListSavedQueriesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

SAVED_QUERIES_FIELD_NUMBER

public static final int SAVED_QUERIES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListSavedQueriesResponse getDefaultInstance()
Returns
TypeDescription
ListSavedQueriesResponse

getDescriptor()

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

newBuilder()

public static ListSavedQueriesResponse.Builder newBuilder()
Returns
TypeDescription
ListSavedQueriesResponse.Builder

newBuilder(ListSavedQueriesResponse prototype)

public static ListSavedQueriesResponse.Builder newBuilder(ListSavedQueriesResponse prototype)
Parameter
NameDescription
prototypeListSavedQueriesResponse
Returns
TypeDescription
ListSavedQueriesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListSavedQueriesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListSavedQueriesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSavedQueriesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSavedQueriesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListSavedQueriesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListSavedQueriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListSavedQueriesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSavedQueriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListSavedQueriesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListSavedQueriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListSavedQueriesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSavedQueriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListSavedQueriesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListSavedQueriesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSavedQueriesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSavedQueriesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListSavedQueriesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListSavedQueriesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSavedQueriesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSavedQueriesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListSavedQueriesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListSavedQueriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListSavedQueriesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSavedQueriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListSavedQueriesResponse> parser()
Returns
TypeDescription
Parser<ListSavedQueriesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListSavedQueriesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSavedQueriesResponse

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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListSavedQueriesResponse> getParserForType()
Returns
TypeDescription
Parser<ListSavedQueriesResponse>
Overrides

getSavedQueries(int index)

public SavedQuery getSavedQueries(int index)

A list of savedQueries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
SavedQuery

getSavedQueriesCount()

public int getSavedQueriesCount()

A list of savedQueries.

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

Returns
TypeDescription
int

getSavedQueriesList()

public List<SavedQuery> getSavedQueriesList()

A list of savedQueries.

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

Returns
TypeDescription
List<SavedQuery>

getSavedQueriesOrBuilder(int index)

public SavedQueryOrBuilder getSavedQueriesOrBuilder(int index)

A list of savedQueries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
SavedQueryOrBuilder

getSavedQueriesOrBuilderList()

public List<? extends SavedQueryOrBuilder> getSavedQueriesOrBuilderList()

A list of savedQueries.

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

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListSavedQueriesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListSavedQueriesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListSavedQueriesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListSavedQueriesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListSavedQueriesResponse.Builder toBuilder()
Returns
TypeDescription
ListSavedQueriesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException