public final class SearchAllResourcesResponse extends GeneratedMessageV3 implements SearchAllResourcesResponseOrBuilder
Search all resources response.
Protobuf type google.cloud.asset.v1.SearchAllResourcesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RESULTS_FIELD_NUMBER
public static final int RESULTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SearchAllResourcesResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SearchAllResourcesResponse.Builder newBuilder()
newBuilder(SearchAllResourcesResponse prototype)
public static SearchAllResourcesResponse.Builder newBuilder(SearchAllResourcesResponse prototype)
public static SearchAllResourcesResponse parseDelimitedFrom(InputStream input)
public static SearchAllResourcesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SearchAllResourcesResponse parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SearchAllResourcesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SearchAllResourcesResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SearchAllResourcesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SearchAllResourcesResponse parseFrom(CodedInputStream input)
public static SearchAllResourcesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SearchAllResourcesResponse parseFrom(InputStream input)
public static SearchAllResourcesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SearchAllResourcesResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SearchAllResourcesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SearchAllResourcesResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public SearchAllResourcesResponse getDefaultInstanceForType()
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()
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
|
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 |
Type |
Description |
int |
|
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;
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
|
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 |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SearchAllResourcesResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SearchAllResourcesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public SearchAllResourcesResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides