public final class TroubleshootIamPolicyResponse extends com.google.protobuf.GeneratedMessageV3 implements TroubleshootIamPolicyResponseOrBuilder
Response for [TroubleshootIamPolicy][google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy].Protobuf type
google.cloud.policytroubleshooter.v1.TroubleshootIamPolicyResponse| Modifier and Type | Class and Description |
|---|---|
static class |
TroubleshootIamPolicyResponse.Builder
Response for [TroubleshootIamPolicy][google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy].
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ACCESS_FIELD_NUMBER |
static int |
EXPLAINED_POLICIES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Explanations.AccessState |
getAccess()
Indicates whether the member has the specified permission for the specified
resource, based on evaluating all of the applicable IAM policies.
|
int |
getAccessValue()
Indicates whether the member has the specified permission for the specified
resource, based on evaluating all of the applicable IAM policies.
|
static TroubleshootIamPolicyResponse |
getDefaultInstance() |
TroubleshootIamPolicyResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Explanations.ExplainedPolicy |
getExplainedPolicies(int index)
List of IAM policies that were evaluated to check the member's permissions,
with annotations to indicate how each policy contributed to the final
result.
|
int |
getExplainedPoliciesCount()
List of IAM policies that were evaluated to check the member's permissions,
with annotations to indicate how each policy contributed to the final
result.
|
List<Explanations.ExplainedPolicy> |
getExplainedPoliciesList()
List of IAM policies that were evaluated to check the member's permissions,
with annotations to indicate how each policy contributed to the final
result.
|
Explanations.ExplainedPolicyOrBuilder |
getExplainedPoliciesOrBuilder(int index)
List of IAM policies that were evaluated to check the member's permissions,
with annotations to indicate how each policy contributed to the final
result.
|
List<? extends Explanations.ExplainedPolicyOrBuilder> |
getExplainedPoliciesOrBuilderList()
List of IAM policies that were evaluated to check the member's permissions,
with annotations to indicate how each policy contributed to the final
result.
|
com.google.protobuf.Parser<TroubleshootIamPolicyResponse> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TroubleshootIamPolicyResponse.Builder |
newBuilder() |
static TroubleshootIamPolicyResponse.Builder |
newBuilder(TroubleshootIamPolicyResponse prototype) |
TroubleshootIamPolicyResponse.Builder |
newBuilderForType() |
protected TroubleshootIamPolicyResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TroubleshootIamPolicyResponse |
parseDelimitedFrom(InputStream input) |
static TroubleshootIamPolicyResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TroubleshootIamPolicyResponse |
parseFrom(byte[] data) |
static TroubleshootIamPolicyResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TroubleshootIamPolicyResponse |
parseFrom(ByteBuffer data) |
static TroubleshootIamPolicyResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TroubleshootIamPolicyResponse |
parseFrom(com.google.protobuf.ByteString data) |
static TroubleshootIamPolicyResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TroubleshootIamPolicyResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TroubleshootIamPolicyResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TroubleshootIamPolicyResponse |
parseFrom(InputStream input) |
static TroubleshootIamPolicyResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TroubleshootIamPolicyResponse> |
parser() |
TroubleshootIamPolicyResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ACCESS_FIELD_NUMBER
public static final int EXPLAINED_POLICIES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getAccessValue()
Indicates whether the member has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.
.google.cloud.policytroubleshooter.v1.AccessState access = 1;getAccessValue in interface TroubleshootIamPolicyResponseOrBuilderpublic Explanations.AccessState getAccess()
Indicates whether the member has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.
.google.cloud.policytroubleshooter.v1.AccessState access = 1;getAccess in interface TroubleshootIamPolicyResponseOrBuilderpublic List<Explanations.ExplainedPolicy> getExplainedPoliciesList()
List of IAM policies that were evaluated to check the member's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
getExplainedPoliciesList in interface TroubleshootIamPolicyResponseOrBuilderpublic List<? extends Explanations.ExplainedPolicyOrBuilder> getExplainedPoliciesOrBuilderList()
List of IAM policies that were evaluated to check the member's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
getExplainedPoliciesOrBuilderList in interface TroubleshootIamPolicyResponseOrBuilderpublic int getExplainedPoliciesCount()
List of IAM policies that were evaluated to check the member's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
getExplainedPoliciesCount in interface TroubleshootIamPolicyResponseOrBuilderpublic Explanations.ExplainedPolicy getExplainedPolicies(int index)
List of IAM policies that were evaluated to check the member's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
getExplainedPolicies in interface TroubleshootIamPolicyResponseOrBuilderpublic Explanations.ExplainedPolicyOrBuilder getExplainedPoliciesOrBuilder(int index)
List of IAM policies that were evaluated to check the member's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
getExplainedPoliciesOrBuilder in interface TroubleshootIamPolicyResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static TroubleshootIamPolicyResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TroubleshootIamPolicyResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TroubleshootIamPolicyResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TroubleshootIamPolicyResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TroubleshootIamPolicyResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TroubleshootIamPolicyResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TroubleshootIamPolicyResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static TroubleshootIamPolicyResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TroubleshootIamPolicyResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TroubleshootIamPolicyResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TroubleshootIamPolicyResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TroubleshootIamPolicyResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TroubleshootIamPolicyResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TroubleshootIamPolicyResponse.Builder newBuilder()
public static TroubleshootIamPolicyResponse.Builder newBuilder(TroubleshootIamPolicyResponse prototype)
public TroubleshootIamPolicyResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TroubleshootIamPolicyResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TroubleshootIamPolicyResponse getDefaultInstance()
public static com.google.protobuf.Parser<TroubleshootIamPolicyResponse> parser()
public com.google.protobuf.Parser<TroubleshootIamPolicyResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TroubleshootIamPolicyResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.