org.hyperledger.fabric.protos.common.ApplicationPolicyOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: common/policies.proto
// Protobuf Java Version: 4.28.2
package org.hyperledger.fabric.protos.common;
@java.lang.Deprecated public interface ApplicationPolicyOrBuilder extends
// @@protoc_insertion_point(interface_extends:common.ApplicationPolicy)
com.google.protobuf.MessageOrBuilder {
/**
*
* 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"];
* @return Whether the signaturePolicy field is set.
*/
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"];
* @return The signaturePolicy.
*/
org.hyperledger.fabric.protos.common.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"];
*/
org.hyperledger.fabric.protos.common.SignaturePolicyEnvelopeOrBuilder getSignaturePolicyOrBuilder();
/**
*
* 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"];
* @return Whether the channelConfigPolicyReference field is set.
*/
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"];
* @return The channelConfigPolicyReference.
*/
java.lang.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"];
* @return The bytes for channelConfigPolicyReference.
*/
com.google.protobuf.ByteString
getChannelConfigPolicyReferenceBytes();
org.hyperledger.fabric.protos.common.ApplicationPolicy.TypeCase getTypeCase();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy