Class BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo (3.4.0)

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
TypeDescription
int

POLICY_FIELD_NUMBER

public static final int POLICY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo getDefaultInstance()
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder newBuilder()
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder

newBuilder(BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo prototype)

public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder newBuilder(BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo prototype)
Parameter
NameDescription
prototypeBatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder

parseDelimitedFrom(InputStream input)

public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAttachedResource()

public String getAttachedResource()

The full resource name the policy is directly attached to.

string attached_resource = 1;

Returns
TypeDescription
String

The attachedResource.

getAttachedResourceBytes()

public ByteString getAttachedResourceBytes()

The full resource name the policy is directly attached to.

string attached_resource = 1;

Returns
TypeDescription
ByteString

The bytes for attachedResource.

getDefaultInstanceForType()

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo getDefaultInstanceForType()
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo

getParserForType()

public Parser<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
com.google.iam.v1.PolicyOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasPolicy()

public boolean hasPolicy()

The IAM policy that's directly attached to the attached_resource.

.google.iam.v1.Policy policy = 2;

Returns
TypeDescription
boolean

Whether the policy field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder newBuilderForType()
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder toBuilder()
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException