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 |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static BatchGetEffectiveIamPoliciesResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BatchGetEffectiveIamPoliciesResponse.Builder newBuilder()
newBuilder(BatchGetEffectiveIamPoliciesResponse prototype)
public static BatchGetEffectiveIamPoliciesResponse.Builder newBuilder(BatchGetEffectiveIamPoliciesResponse prototype)
public static BatchGetEffectiveIamPoliciesResponse parseDelimitedFrom(InputStream input)
public static BatchGetEffectiveIamPoliciesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BatchGetEffectiveIamPoliciesResponse parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchGetEffectiveIamPoliciesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BatchGetEffectiveIamPoliciesResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchGetEffectiveIamPoliciesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchGetEffectiveIamPoliciesResponse parseFrom(CodedInputStream input)
public static BatchGetEffectiveIamPoliciesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchGetEffectiveIamPoliciesResponse parseFrom(InputStream input)
public static BatchGetEffectiveIamPoliciesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BatchGetEffectiveIamPoliciesResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BatchGetEffectiveIamPoliciesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BatchGetEffectiveIamPoliciesResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public BatchGetEffectiveIamPoliciesResponse getDefaultInstanceForType()
getParserForType()
public Parser<BatchGetEffectiveIamPoliciesResponse> getParserForType()
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
|
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;
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
|
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BatchGetEffectiveIamPoliciesResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BatchGetEffectiveIamPoliciesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public BatchGetEffectiveIamPoliciesResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides