Class BatchGetEffectiveIamPoliciesResponse (3.58.0)

public final class BatchGetEffectiveIamPoliciesResponse extends GeneratedMessageV3 implements BatchGetEffectiveIamPoliciesResponseOrBuilder

A response message for AssetService.BatchGetEffectiveIamPolicies.

Protobuf type google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BatchGetEffectiveIamPoliciesResponse

Static Fields

POLICY_RESULTS_FIELD_NUMBER

public static final int POLICY_RESULTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchGetEffectiveIamPoliciesResponse getDefaultInstance()
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(BatchGetEffectiveIamPoliciesResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BatchGetEffectiveIamPoliciesResponse getDefaultInstanceForType()
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse

getParserForType()

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

getPolicyResults(int index)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy getPolicyResults(int index)

The effective policies for a batch of resources. Note that the results order is the same as the order of BatchGetEffectiveIamPoliciesRequest.names. When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty EffectiveIamPolicy.policies.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;

Parameter
Name Description
index int
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy

getPolicyResultsCount()

public int getPolicyResultsCount()

The effective policies for a batch of resources. Note that the results order is the same as the order of BatchGetEffectiveIamPoliciesRequest.names. When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty EffectiveIamPolicy.policies.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;

Returns
Type Description
int

getPolicyResultsList()

public List<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy> getPolicyResultsList()

The effective policies for a batch of resources. Note that the results order is the same as the order of BatchGetEffectiveIamPoliciesRequest.names. When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty EffectiveIamPolicy.policies.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;

Returns
Type Description
List<EffectiveIamPolicy>

getPolicyResultsOrBuilder(int index)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder getPolicyResultsOrBuilder(int index)

The effective policies for a batch of resources. Note that the results order is the same as the order of BatchGetEffectiveIamPoliciesRequest.names. When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty EffectiveIamPolicy.policies.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;

Parameter
Name Description
index int
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder

getPolicyResultsOrBuilderList()

public List<? extends BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder> getPolicyResultsOrBuilderList()

The effective policies for a batch of resources. Note that the results order is the same as the order of BatchGetEffectiveIamPoliciesRequest.names. When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty EffectiveIamPolicy.policies.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;

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

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 BatchGetEffectiveIamPoliciesResponse.Builder newBuilderForType()
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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