@Deprecated public final class ApplicationPolicy extends com.google.protobuf.GeneratedMessageV3 implements ApplicationPolicyOrBuilder
ApplicationPolicy captures the diffenrent policy types that are set and evaluted at the application level.Protobuf type
common.ApplicationPolicy
Modifier and Type | Class and Description |
---|---|
static class |
ApplicationPolicy.Builder
Deprecated.
ApplicationPolicy captures the diffenrent policy types that
are set and evaluted at the application level.
|
static class |
ApplicationPolicy.TypeCase
Deprecated.
|
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
Modifier and Type | Field and Description |
---|---|
static int |
CHANNEL_CONFIG_POLICY_REFERENCE_FIELD_NUMBER
Deprecated.
|
static int |
SIGNATURE_POLICY_FIELD_NUMBER
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Deprecated.
|
String |
getChannelConfigPolicyReference()
Deprecated.
ChannelConfigPolicyReference is used when the policy is
specified as a string that references a policy defined in
the configuration of the channel
|
com.google.protobuf.ByteString |
getChannelConfigPolicyReferenceBytes()
Deprecated.
ChannelConfigPolicyReference is used when the policy is
specified as a string that references a policy defined in
the configuration of the channel
|
static ApplicationPolicy |
getDefaultInstance()
Deprecated.
|
ApplicationPolicy |
getDefaultInstanceForType()
Deprecated.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor()
Deprecated.
|
com.google.protobuf.Parser<ApplicationPolicy> |
getParserForType()
Deprecated.
|
int |
getSerializedSize()
Deprecated.
|
SignaturePolicyEnvelope |
getSignaturePolicy()
Deprecated.
SignaturePolicy type is used if the policy is specified as
a combination (using threshold gates) of signatures from MSP
principals
|
SignaturePolicyEnvelopeOrBuilder |
getSignaturePolicyOrBuilder()
Deprecated.
SignaturePolicy type is used if the policy is specified as
a combination (using threshold gates) of signatures from MSP
principals
|
ApplicationPolicy.TypeCase |
getTypeCase()
Deprecated.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields()
Deprecated.
|
boolean |
hasChannelConfigPolicyReference()
Deprecated.
ChannelConfigPolicyReference is used when the policy is
specified as a string that references a policy defined in
the configuration of the channel
|
int |
hashCode()
Deprecated.
|
boolean |
hasSignaturePolicy()
Deprecated.
SignaturePolicy type is used if the policy is specified as
a combination (using threshold gates) of signatures from MSP
principals
|
boolean |
isInitialized()
Deprecated.
|
static ApplicationPolicy.Builder |
newBuilder()
Deprecated.
|
static ApplicationPolicy.Builder |
newBuilder(ApplicationPolicy prototype)
Deprecated.
|
ApplicationPolicy.Builder |
newBuilderForType()
Deprecated.
|
static ApplicationPolicy |
parseDelimitedFrom(InputStream input)
Deprecated.
|
static ApplicationPolicy |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Deprecated.
|
static ApplicationPolicy |
parseFrom(byte[] data)
Deprecated.
|
static ApplicationPolicy |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Deprecated.
|
static ApplicationPolicy |
parseFrom(ByteBuffer data)
Deprecated.
|
static ApplicationPolicy |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Deprecated.
|
static ApplicationPolicy |
parseFrom(com.google.protobuf.ByteString data)
Deprecated.
|
static ApplicationPolicy |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Deprecated.
|
static ApplicationPolicy |
parseFrom(com.google.protobuf.CodedInputStream input)
Deprecated.
|
static ApplicationPolicy |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Deprecated.
|
static ApplicationPolicy |
parseFrom(InputStream input)
Deprecated.
|
static ApplicationPolicy |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Deprecated.
|
static com.google.protobuf.Parser<ApplicationPolicy> |
parser()
Deprecated.
|
ApplicationPolicy.Builder |
toBuilder()
Deprecated.
|
void |
writeTo(com.google.protobuf.CodedOutputStream output)
Deprecated.
|
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
findInitializationErrors, getInitializationErrorString, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int SIGNATURE_POLICY_FIELD_NUMBER
public static final int CHANNEL_CONFIG_POLICY_REFERENCE_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public ApplicationPolicy.TypeCase getTypeCase()
getTypeCase
in interface ApplicationPolicyOrBuilder
public boolean hasSignaturePolicy()
SignaturePolicy type is used if the policy is specified as a combination (using threshold gates) of signatures from MSP principals
.common.SignaturePolicyEnvelope signature_policy = 1 [json_name = "signaturePolicy"];
hasSignaturePolicy
in interface ApplicationPolicyOrBuilder
public SignaturePolicyEnvelope getSignaturePolicy()
SignaturePolicy type is used if the policy is specified as a combination (using threshold gates) of signatures from MSP principals
.common.SignaturePolicyEnvelope signature_policy = 1 [json_name = "signaturePolicy"];
getSignaturePolicy
in interface ApplicationPolicyOrBuilder
public SignaturePolicyEnvelopeOrBuilder getSignaturePolicyOrBuilder()
SignaturePolicy type is used if the policy is specified as a combination (using threshold gates) of signatures from MSP principals
.common.SignaturePolicyEnvelope signature_policy = 1 [json_name = "signaturePolicy"];
getSignaturePolicyOrBuilder
in interface ApplicationPolicyOrBuilder
public boolean hasChannelConfigPolicyReference()
ChannelConfigPolicyReference is used when the policy is specified as a string that references a policy defined in the configuration of the channel
string channel_config_policy_reference = 2 [json_name = "channelConfigPolicyReference"];
hasChannelConfigPolicyReference
in interface ApplicationPolicyOrBuilder
public String getChannelConfigPolicyReference()
ChannelConfigPolicyReference is used when the policy is specified as a string that references a policy defined in the configuration of the channel
string channel_config_policy_reference = 2 [json_name = "channelConfigPolicyReference"];
getChannelConfigPolicyReference
in interface ApplicationPolicyOrBuilder
public com.google.protobuf.ByteString getChannelConfigPolicyReferenceBytes()
ChannelConfigPolicyReference is used when the policy is specified as a string that references a policy defined in the configuration of the channel
string channel_config_policy_reference = 2 [json_name = "channelConfigPolicyReference"];
getChannelConfigPolicyReferenceBytes
in interface ApplicationPolicyOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static ApplicationPolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ApplicationPolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ApplicationPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ApplicationPolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ApplicationPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ApplicationPolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ApplicationPolicy parseFrom(InputStream input) throws IOException
IOException
public static ApplicationPolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ApplicationPolicy parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ApplicationPolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ApplicationPolicy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ApplicationPolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ApplicationPolicy.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ApplicationPolicy.Builder newBuilder()
public static ApplicationPolicy.Builder newBuilder(ApplicationPolicy prototype)
public ApplicationPolicy.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
public static ApplicationPolicy getDefaultInstance()
public static com.google.protobuf.Parser<ApplicationPolicy> parser()
public com.google.protobuf.Parser<ApplicationPolicy> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public ApplicationPolicy getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2022. All rights reserved.