Class SearchAllResourcesResponse (3.46.0)

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
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()
Returns
Type Description
SearchAllResourcesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SearchAllResourcesResponse.Builder newBuilder()
Returns
Type Description
SearchAllResourcesResponse.Builder

newBuilder(SearchAllResourcesResponse prototype)

public static SearchAllResourcesResponse.Builder newBuilder(SearchAllResourcesResponse prototype)
Parameter
Name Description
prototype SearchAllResourcesResponse
Returns
Type Description
SearchAllResourcesResponse.Builder

parseDelimitedFrom(InputStream input)

public static SearchAllResourcesResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SearchAllResourcesResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchAllResourcesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchAllResourcesResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SearchAllResourcesResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SearchAllResourcesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SearchAllResourcesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchAllResourcesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SearchAllResourcesResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SearchAllResourcesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SearchAllResourcesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchAllResourcesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SearchAllResourcesResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SearchAllResourcesResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchAllResourcesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchAllResourcesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SearchAllResourcesResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SearchAllResourcesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchAllResourcesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchAllResourcesResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SearchAllResourcesResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SearchAllResourcesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SearchAllResourcesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchAllResourcesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SearchAllResourcesResponse> parser()
Returns
Type Description
Parser<SearchAllResourcesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public SearchAllResourcesResponse getDefaultInstanceForType()
Returns
Type Description
SearchAllResourcesResponse

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
Type Description
Parser<SearchAllResourcesResponse>
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
Type Description
StandardResourceMetadata

getResultsCount()

public int getResultsCount()

A list of resource that match the search query.

repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1;

Returns
Type Description
int

getResultsList()

public List<StandardResourceMetadata> getResultsList()

A list of resource that match the search query.

repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1;

Returns
Type Description
List<StandardResourceMetadata>

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
Type Description
StandardResourceMetadataOrBuilder

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
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SearchAllResourcesResponse.Builder newBuilderForType()
Returns
Type Description
SearchAllResourcesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SearchAllResourcesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SearchAllResourcesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SearchAllResourcesResponse.Builder toBuilder()
Returns
Type Description
SearchAllResourcesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException