public final class SearchAllResourcesResponse extends GeneratedMessageV3 implements SearchAllResourcesResponseOrBuilder
Search all resources response.
Protobuf type google.cloud.asset.v1p1beta1.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 StandardResourceMetadata getResults(int index)
A list of resource that match the search query.
repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getResultsCount()
public int getResultsCount()
A list of resource that match the search query.
repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1;
Returns
getResultsList()
public List<StandardResourceMetadata> getResultsList()
A list of resource that match the search query.
repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1;
Returns
getResultsOrBuilder(int index)
public StandardResourceMetadataOrBuilder getResultsOrBuilder(int index)
A list of resource that match the search query.
repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getResultsOrBuilderList()
public List<? extends StandardResourceMetadataOrBuilder> getResultsOrBuilderList()
A list of resource that match the search query.
repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1;
Returns
Type |
Description |
List<? extends com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder> |
|
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