public static final class BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo extends GeneratedMessage implements BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilderThe IAM policy and its attached resource.
Protobuf type
google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoStatic 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 |
|
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> |
|
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 |
|
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 |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder |
|
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 |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|