public final class DecisionPolicy extends com.google.protobuf.GeneratedMessage implements DecisionPolicyOrBuilder
information about a policy used in a decisionProtobuf type
aserto.authorizer.v2.api.DecisionPolicy| Modifier and Type | Class and Description |
|---|---|
static class |
DecisionPolicy.Builder
information about a policy used in a decision
|
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONTEXT_FIELD_NUMBER |
static int |
POLICY_INSTANCE_FIELD_NUMBER |
static int |
REGISTRY_DIGEST_FIELD_NUMBER |
static int |
REGISTRY_IMAGE_FIELD_NUMBER |
static int |
REGISTRY_SERVICE_FIELD_NUMBER |
static int |
REGISTRY_TAG_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
PolicyContext |
getContext()
policy context used in the decision
|
PolicyContextOrBuilder |
getContextOrBuilder()
policy context used in the decision
|
static DecisionPolicy |
getDefaultInstance() |
DecisionPolicy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<DecisionPolicy> |
getParserForType() |
PolicyInstance |
getPolicyInstance()
policy instance used in decision
|
PolicyInstanceOrBuilder |
getPolicyInstanceOrBuilder()
policy instance used in decision
|
String |
getRegistryDigest()
digest of the policy image
|
com.google.protobuf.ByteString |
getRegistryDigestBytes()
digest of the policy image
|
String |
getRegistryImage()
image of the policy in the registry, including org (e.g.
|
com.google.protobuf.ByteString |
getRegistryImageBytes()
image of the policy in the registry, including org (e.g.
|
String |
getRegistryService()
registry service where policy was retrieved from (e.g.
|
com.google.protobuf.ByteString |
getRegistryServiceBytes()
registry service where policy was retrieved from (e.g.
|
String |
getRegistryTag()
tag of the policy image (e.g.
|
com.google.protobuf.ByteString |
getRegistryTagBytes()
tag of the policy image (e.g.
|
int |
getSerializedSize() |
boolean |
hasContext()
policy context used in the decision
|
int |
hashCode() |
boolean |
hasPolicyInstance()
policy instance used in decision
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DecisionPolicy.Builder |
newBuilder() |
static DecisionPolicy.Builder |
newBuilder(DecisionPolicy prototype) |
DecisionPolicy.Builder |
newBuilderForType() |
protected DecisionPolicy.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static DecisionPolicy |
parseDelimitedFrom(InputStream input) |
static DecisionPolicy |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DecisionPolicy |
parseFrom(byte[] data) |
static DecisionPolicy |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DecisionPolicy |
parseFrom(ByteBuffer data) |
static DecisionPolicy |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DecisionPolicy |
parseFrom(com.google.protobuf.ByteString data) |
static DecisionPolicy |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DecisionPolicy |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DecisionPolicy |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DecisionPolicy |
parseFrom(InputStream input) |
static DecisionPolicy |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DecisionPolicy> |
parser() |
DecisionPolicy.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CONTEXT_FIELD_NUMBER
public static final int REGISTRY_SERVICE_FIELD_NUMBER
public static final int REGISTRY_IMAGE_FIELD_NUMBER
public static final int REGISTRY_TAG_FIELD_NUMBER
public static final int REGISTRY_DIGEST_FIELD_NUMBER
public static final int POLICY_INSTANCE_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic boolean hasContext()
policy context used in the decision
.aserto.authorizer.v2.api.PolicyContext context = 1 [json_name = "context"];hasContext in interface DecisionPolicyOrBuilderpublic PolicyContext getContext()
policy context used in the decision
.aserto.authorizer.v2.api.PolicyContext context = 1 [json_name = "context"];getContext in interface DecisionPolicyOrBuilderpublic PolicyContextOrBuilder getContextOrBuilder()
policy context used in the decision
.aserto.authorizer.v2.api.PolicyContext context = 1 [json_name = "context"];getContextOrBuilder in interface DecisionPolicyOrBuilderpublic String getRegistryService()
registry service where policy was retrieved from (e.g. opcr.io)
string registry_service = 2 [json_name = "registryService"];getRegistryService in interface DecisionPolicyOrBuilderpublic com.google.protobuf.ByteString getRegistryServiceBytes()
registry service where policy was retrieved from (e.g. opcr.io)
string registry_service = 2 [json_name = "registryService"];getRegistryServiceBytes in interface DecisionPolicyOrBuilderpublic String getRegistryImage()
image of the policy in the registry, including org (e.g. acmecorp/peoplefinder-abac)
string registry_image = 3 [json_name = "registryImage"];getRegistryImage in interface DecisionPolicyOrBuilderpublic com.google.protobuf.ByteString getRegistryImageBytes()
image of the policy in the registry, including org (e.g. acmecorp/peoplefinder-abac)
string registry_image = 3 [json_name = "registryImage"];getRegistryImageBytes in interface DecisionPolicyOrBuilderpublic String getRegistryTag()
tag of the policy image (e.g. 0.8.2 or latest)
string registry_tag = 4 [json_name = "registryTag"];getRegistryTag in interface DecisionPolicyOrBuilderpublic com.google.protobuf.ByteString getRegistryTagBytes()
tag of the policy image (e.g. 0.8.2 or latest)
string registry_tag = 4 [json_name = "registryTag"];getRegistryTagBytes in interface DecisionPolicyOrBuilderpublic String getRegistryDigest()
digest of the policy image
string registry_digest = 5 [json_name = "registryDigest"];getRegistryDigest in interface DecisionPolicyOrBuilderpublic com.google.protobuf.ByteString getRegistryDigestBytes()
digest of the policy image
string registry_digest = 5 [json_name = "registryDigest"];getRegistryDigestBytes in interface DecisionPolicyOrBuilderpublic boolean hasPolicyInstance()
policy instance used in decision
.aserto.authorizer.v2.api.PolicyInstance policy_instance = 6 [json_name = "policyInstance"];hasPolicyInstance in interface DecisionPolicyOrBuilderpublic PolicyInstance getPolicyInstance()
policy instance used in decision
.aserto.authorizer.v2.api.PolicyInstance policy_instance = 6 [json_name = "policyInstance"];getPolicyInstance in interface DecisionPolicyOrBuilderpublic PolicyInstanceOrBuilder getPolicyInstanceOrBuilder()
policy instance used in decision
.aserto.authorizer.v2.api.PolicyInstance policy_instance = 6 [json_name = "policyInstance"];getPolicyInstanceOrBuilder in interface DecisionPolicyOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic 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 DecisionPolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DecisionPolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DecisionPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DecisionPolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DecisionPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DecisionPolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DecisionPolicy parseFrom(InputStream input) throws IOException
IOExceptionpublic static DecisionPolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DecisionPolicy parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DecisionPolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DecisionPolicy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DecisionPolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DecisionPolicy.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DecisionPolicy.Builder newBuilder()
public static DecisionPolicy.Builder newBuilder(DecisionPolicy prototype)
public DecisionPolicy.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DecisionPolicy.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static DecisionPolicy getDefaultInstance()
public static com.google.protobuf.Parser<DecisionPolicy> parser()
public com.google.protobuf.Parser<DecisionPolicy> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic DecisionPolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024. All rights reserved.