public final class BatchGetEffectiveIamPoliciesResponse extends GeneratedMessageV3 implements BatchGetEffectiveIamPoliciesResponseOrBuilder
A response message for
AssetService.BatchGetEffectiveIamPolicies.
Protobuf type google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
Static Fields
POLICY_RESULTS_FIELD_NUMBER
public static final int POLICY_RESULTS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static BatchGetEffectiveIamPoliciesResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static BatchGetEffectiveIamPoliciesResponse.Builder newBuilder()
Returns
newBuilder(BatchGetEffectiveIamPoliciesResponse prototype)
public static BatchGetEffectiveIamPoliciesResponse.Builder newBuilder(BatchGetEffectiveIamPoliciesResponse prototype)
Parameter
Returns
public static BatchGetEffectiveIamPoliciesResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchGetEffectiveIamPoliciesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BatchGetEffectiveIamPoliciesResponse parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchGetEffectiveIamPoliciesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BatchGetEffectiveIamPoliciesResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchGetEffectiveIamPoliciesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchGetEffectiveIamPoliciesResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BatchGetEffectiveIamPoliciesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchGetEffectiveIamPoliciesResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchGetEffectiveIamPoliciesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BatchGetEffectiveIamPoliciesResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BatchGetEffectiveIamPoliciesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BatchGetEffectiveIamPoliciesResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public BatchGetEffectiveIamPoliciesResponse getDefaultInstanceForType()
Returns
getParserForType()
public Parser<BatchGetEffectiveIamPoliciesResponse> getParserForType()
Returns
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
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
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
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
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
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 BatchGetEffectiveIamPoliciesResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BatchGetEffectiveIamPoliciesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public BatchGetEffectiveIamPoliciesResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions