Class SearchAllIamPoliciesResponse

public final class SearchAllIamPoliciesResponse extends GeneratedMessageV3 implements SearchAllIamPoliciesResponseOrBuilder

Search all IAM policies response.

Protobuf type google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse

Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

RESULTS_FIELD_NUMBER

public static final int RESULTS_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstance()

public static SearchAllIamPoliciesResponse getDefaultInstance()
Returns
TypeDescription
SearchAllIamPoliciesResponse

getDefaultInstanceForType()

public SearchAllIamPoliciesResponse getDefaultInstanceForType()
Returns
TypeDescription
SearchAllIamPoliciesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<SearchAllIamPoliciesResponse> getParserForType()
Returns
TypeDescription
Parser<SearchAllIamPoliciesResponse>
Overrides

getResults(int index)

public IamPolicySearchResult getResults(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
IamPolicySearchResult

getResultsCount()

public int getResultsCount()

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

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

Returns
TypeDescription
int

getResultsList()

public List<IamPolicySearchResult> getResultsList()

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

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

Returns
TypeDescription
List<IamPolicySearchResult>

getResultsOrBuilder(int index)

public IamPolicySearchResultOrBuilder getResultsOrBuilder(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
IamPolicySearchResultOrBuilder

getResultsOrBuilderList()

public List<? extends IamPolicySearchResultOrBuilder> getResultsOrBuilderList()

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

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

Returns
TypeDescription
List<? extends com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilder()

public static SearchAllIamPoliciesResponse.Builder newBuilder()
Returns
TypeDescription
SearchAllIamPoliciesResponse.Builder

newBuilder(SearchAllIamPoliciesResponse prototype)

public static SearchAllIamPoliciesResponse.Builder newBuilder(SearchAllIamPoliciesResponse prototype)
Parameter
NameDescription
prototypeSearchAllIamPoliciesResponse
Returns
TypeDescription
SearchAllIamPoliciesResponse.Builder

newBuilderForType()

public SearchAllIamPoliciesResponse.Builder newBuilderForType()
Returns
TypeDescription
SearchAllIamPoliciesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SearchAllIamPoliciesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SearchAllIamPoliciesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

parseDelimitedFrom(InputStream input)

public static SearchAllIamPoliciesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SearchAllIamPoliciesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchAllIamPoliciesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchAllIamPoliciesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SearchAllIamPoliciesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SearchAllIamPoliciesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SearchAllIamPoliciesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchAllIamPoliciesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SearchAllIamPoliciesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SearchAllIamPoliciesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SearchAllIamPoliciesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchAllIamPoliciesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SearchAllIamPoliciesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SearchAllIamPoliciesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchAllIamPoliciesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchAllIamPoliciesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SearchAllIamPoliciesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SearchAllIamPoliciesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchAllIamPoliciesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchAllIamPoliciesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SearchAllIamPoliciesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SearchAllIamPoliciesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SearchAllIamPoliciesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchAllIamPoliciesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SearchAllIamPoliciesResponse> parser()
Returns
TypeDescription
Parser<SearchAllIamPoliciesResponse>

toBuilder()

public SearchAllIamPoliciesResponse.Builder toBuilder()
Returns
TypeDescription
SearchAllIamPoliciesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException