org.hyperledger.fabric.protos.common.PoliciesProto 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;
public final class PoliciesProto {
private PoliciesProto() {}
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 2,
/* suffix= */ "",
PoliciesProto.class.getName());
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
static final com.google.protobuf.Descriptors.Descriptor
internal_static_common_Policy_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_common_Policy_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_common_SignaturePolicyEnvelope_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_common_SignaturePolicyEnvelope_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_common_SignaturePolicy_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_common_SignaturePolicy_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_common_SignaturePolicy_NOutOf_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_common_SignaturePolicy_NOutOf_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_common_ImplicitMetaPolicy_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_common_ImplicitMetaPolicy_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_common_ApplicationPolicy_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_common_ApplicationPolicy_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\025common/policies.proto\022\006common\032\027msp/msp" +
"_principal.proto\"x\n\006Policy\022\022\n\004type\030\001 \001(\005" +
"R\004type\022\024\n\005value\030\002 \001(\014R\005value\"D\n\nPolicyTy" +
"pe\022\013\n\007UNKNOWN\020\000\022\r\n\tSIGNATURE\020\001\022\007\n\003MSP\020\002\022" +
"\021\n\rIMPLICIT_META\020\003\"\226\001\n\027SignaturePolicyEn" +
"velope\022\030\n\007version\030\001 \001(\005R\007version\022+\n\004rule" +
"\030\002 \001(\0132\027.common.SignaturePolicyR\004rule\0224\n" +
"\nidentities\030\003 \003(\0132\024.common.MSPPrincipalR" +
"\nidentities\"\273\001\n\017SignaturePolicy\022\035\n\tsigne" +
"d_by\030\001 \001(\005H\000R\010signedBy\022:\n\010n_out_of\030\002 \001(\013" +
"2\036.common.SignaturePolicy.NOutOfH\000R\006nOut" +
"Of\032E\n\006NOutOf\022\014\n\001n\030\001 \001(\005R\001n\022-\n\005rules\030\002 \003(" +
"\0132\027.common.SignaturePolicyR\005rulesB\006\n\004Typ" +
"e\"\220\001\n\022ImplicitMetaPolicy\022\035\n\nsub_policy\030\001" +
" \001(\tR\tsubPolicy\0223\n\004rule\030\002 \001(\0162\037.common.I" +
"mplicitMetaPolicy.RuleR\004rule\"&\n\004Rule\022\007\n\003" +
"ANY\020\000\022\007\n\003ALL\020\001\022\014\n\010MAJORITY\020\002\"\266\001\n\021Applica" +
"tionPolicy\022L\n\020signature_policy\030\001 \001(\0132\037.c" +
"ommon.SignaturePolicyEnvelopeH\000R\017signatu" +
"rePolicy\022G\n\037channel_config_policy_refere" +
"nce\030\002 \001(\tH\000R\034channelConfigPolicyReferenc" +
"e:\002\030\001B\006\n\004TypeB\243\001\n$org.hyperledger.fabric" +
".protos.commonB\rPoliciesProtoP\001Z4github." +
"com/hyperledger/fabric-protos-go-apiv2/c" +
"ommon\242\002\003CXX\252\002\006Common\312\002\006Common\342\002\022Common\\G" +
"PBMetadata\352\002\006Commonb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
org.hyperledger.fabric.protos.common.MSPPrincipalProto.getDescriptor(),
});
internal_static_common_Policy_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_common_Policy_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_common_Policy_descriptor,
new java.lang.String[] { "Type", "Value", });
internal_static_common_SignaturePolicyEnvelope_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_common_SignaturePolicyEnvelope_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_common_SignaturePolicyEnvelope_descriptor,
new java.lang.String[] { "Version", "Rule", "Identities", });
internal_static_common_SignaturePolicy_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_common_SignaturePolicy_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_common_SignaturePolicy_descriptor,
new java.lang.String[] { "SignedBy", "NOutOf", "Type", });
internal_static_common_SignaturePolicy_NOutOf_descriptor =
internal_static_common_SignaturePolicy_descriptor.getNestedTypes().get(0);
internal_static_common_SignaturePolicy_NOutOf_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_common_SignaturePolicy_NOutOf_descriptor,
new java.lang.String[] { "N", "Rules", });
internal_static_common_ImplicitMetaPolicy_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_common_ImplicitMetaPolicy_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_common_ImplicitMetaPolicy_descriptor,
new java.lang.String[] { "SubPolicy", "Rule", });
internal_static_common_ApplicationPolicy_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_common_ApplicationPolicy_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_common_ApplicationPolicy_descriptor,
new java.lang.String[] { "SignaturePolicy", "ChannelConfigPolicyReference", "Type", });
descriptor.resolveAllFeaturesImmutable();
org.hyperledger.fabric.protos.common.MSPPrincipalProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy