Class BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo (3.4.1)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo

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()
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo

getDescriptor()

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

newBuilder()

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

newBuilder(BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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()
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo

getParserForType()

public Parser<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo> getParserForType()
Returns
Type Description
Parser<PolicyInfo>
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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
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()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.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.EffectiveIamPolicy.PolicyInfo.Builder toBuilder()
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder

writeTo(CodedOutputStream output)

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