public final class SearchAllResourcesResponse extends GeneratedMessageV3 implements SearchAllResourcesResponseOrBuilder
Search all resources response.
Protobuf type google.cloud.asset.v1.SearchAllResourcesResponse
Static Fields
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
RESULTS_FIELD_NUMBER
public static final int RESULTS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SearchAllResourcesResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SearchAllResourcesResponse.Builder newBuilder()
Returns
newBuilder(SearchAllResourcesResponse prototype)
public static SearchAllResourcesResponse.Builder newBuilder(SearchAllResourcesResponse prototype)
Parameter
Returns
public static SearchAllResourcesResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SearchAllResourcesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SearchAllResourcesResponse parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SearchAllResourcesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SearchAllResourcesResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SearchAllResourcesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SearchAllResourcesResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SearchAllResourcesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SearchAllResourcesResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SearchAllResourcesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SearchAllResourcesResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SearchAllResourcesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SearchAllResourcesResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public SearchAllResourcesResponse getDefaultInstanceForType()
Returns
getNextPageToken()
public String getNextPageToken()
If there are more results than those appearing in this response, then
next_page_token
is included. To get the next set of results, call this
method again using the value of next_page_token
as page_token
.
string next_page_token = 2;
Returns
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
If there are more results than those appearing in this response, then
next_page_token
is included. To get the next set of results, call this
method again using the value of next_page_token
as page_token
.
string next_page_token = 2;
Returns
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
getParserForType()
public Parser<SearchAllResourcesResponse> getParserForType()
Returns
Overrides
getResults(int index)
public ResourceSearchResult getResults(int index)
A list of Resources that match the search query. It contains the resource
standard metadata information.
repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getResultsCount()
public int getResultsCount()
A list of Resources that match the search query. It contains the resource
standard metadata information.
repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
Returns
getResultsList()
public List<ResourceSearchResult> getResultsList()
A list of Resources that match the search query. It contains the resource
standard metadata information.
repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
Returns
getResultsOrBuilder(int index)
public ResourceSearchResultOrBuilder getResultsOrBuilder(int index)
A list of Resources that match the search query. It contains the resource
standard metadata information.
repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getResultsOrBuilderList()
public List<? extends ResourceSearchResultOrBuilder> getResultsOrBuilderList()
A list of Resources that match the search query. It contains the resource
standard metadata information.
repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
Returns
Type |
Description |
List<? extends com.google.cloud.asset.v1.ResourceSearchResultOrBuilder> |
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SearchAllResourcesResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SearchAllResourcesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SearchAllResourcesResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions