public static final class BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo extends GeneratedMessageV3 implements BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder
The IAM policy and its attached resource.
Protobuf type
google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ATTACHED_RESOURCE_FIELD_NUMBER
public static final int ATTACHED_RESOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
POLICY_FIELD_NUMBER
public static final int POLICY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder newBuilder()
newBuilder(BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo prototype)
public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder newBuilder(BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo prototype)
public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseDelimitedFrom(InputStream input)
public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(CodedInputStream input)
public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(InputStream input)
public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAttachedResource()
public String getAttachedResource()
The full resource name the
policy
is directly attached to.
string attached_resource = 1;
Returns |
Type |
Description |
String |
The attachedResource.
|
getAttachedResourceBytes()
public ByteString getAttachedResourceBytes()
The full resource name the
policy
is directly attached to.
string attached_resource = 1;
Returns |
Type |
Description |
ByteString |
The bytes for attachedResource.
|
getDefaultInstanceForType()
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo getDefaultInstanceForType()
getParserForType()
public Parser<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo> getParserForType()
Overrides
getPolicy()
public Policy getPolicy()
The IAM policy that's directly attached to the
attached_resource.
.google.iam.v1.Policy policy = 2;
Returns |
Type |
Description |
com.google.iam.v1.Policy |
The policy.
|
getPolicyOrBuilder()
public PolicyOrBuilder getPolicyOrBuilder()
The IAM policy that's directly attached to the
attached_resource.
.google.iam.v1.Policy policy = 2;
Returns |
Type |
Description |
com.google.iam.v1.PolicyOrBuilder |
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasPolicy()
public boolean hasPolicy()
The IAM policy that's directly attached to the
attached_resource.
.google.iam.v1.Policy policy = 2;
Returns |
Type |
Description |
boolean |
Whether the policy field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides