Class SearchAllIamPoliciesResponse (3.15.0)

public final class SearchAllIamPoliciesResponse extends GeneratedMessageV3 implements SearchAllIamPoliciesResponseOrBuilder

Search all IAM policies response.

Protobuf type google.cloud.asset.v1.SearchAllIamPoliciesResponse

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

getDescriptor()

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

newBuilder()

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

newBuilder(SearchAllIamPoliciesResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SearchAllIamPoliciesResponse getDefaultInstanceForType()
Returns
Type Description
SearchAllIamPoliciesResponse

getNextPageToken()

public String getNextPageToken()

Set if there are more results than those appearing in this response; to get the next set of results, call this method again, using this value as the page_token.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Set if there are more results than those appearing in this response; to get the next set of results, call this method again, using this value as the page_token.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<SearchAllIamPoliciesResponse> getParserForType()
Returns
Type Description
Parser<SearchAllIamPoliciesResponse>
Overrides

getResults(int index)

public IamPolicySearchResult getResults(int index)

A list of IAM policies that match the search query. Related information such as the associated resource is returned along with the policy.

repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;

Parameter
Name Description
index int
Returns
Type Description
IamPolicySearchResult

getResultsCount()

public int getResultsCount()

A list of IAM policies that match the search query. Related information such as the associated resource is returned along with the policy.

repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;

Returns
Type Description
int

getResultsList()

public List<IamPolicySearchResult> getResultsList()

A list of IAM policies that match the search query. Related information such as the associated resource is returned along with the policy.

repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;

Returns
Type Description
List<IamPolicySearchResult>

getResultsOrBuilder(int index)

public IamPolicySearchResultOrBuilder getResultsOrBuilder(int index)

A list of IAM policies that match the search query. Related information such as the associated resource is returned along with the policy.

repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;

Parameter
Name Description
index int
Returns
Type Description
IamPolicySearchResultOrBuilder

getResultsOrBuilderList()

public List<? extends IamPolicySearchResultOrBuilder> getResultsOrBuilderList()

A list of IAM policies that match the search query. Related information such as the associated resource is returned along with the policy.

repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;

Returns
Type Description
List<? extends com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
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 SearchAllIamPoliciesResponse.Builder newBuilderForType()
Returns
Type Description
SearchAllIamPoliciesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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