org.hyperledger.fabric.protos.common.MSPPrincipalProto Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: msp/msp_principal.proto
// Protobuf Java Version: 4.28.2
package org.hyperledger.fabric.protos.common;
public final class MSPPrincipalProto {
private MSPPrincipalProto() {}
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 2,
/* suffix= */ "",
MSPPrincipalProto.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_MSPPrincipal_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_common_MSPPrincipal_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_common_OrganizationUnit_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_common_OrganizationUnit_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_common_MSPRole_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_common_MSPRole_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_common_MSPIdentityAnonymity_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_common_MSPIdentityAnonymity_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_common_CombinedPrincipal_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_common_CombinedPrincipal_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\027msp/msp_principal.proto\022\006common\"\352\001\n\014MS" +
"PPrincipal\022^\n\030principal_classification\030\001" +
" \001(\0162#.common.MSPPrincipal.Classificatio" +
"nR\027principalClassification\022\034\n\tprincipal\030" +
"\002 \001(\014R\tprincipal\"\\\n\016Classification\022\010\n\004RO" +
"LE\020\000\022\025\n\021ORGANIZATION_UNIT\020\001\022\014\n\010IDENTITY\020" +
"\002\022\r\n\tANONYMITY\020\003\022\014\n\010COMBINED\020\004\"\264\001\n\020Organ" +
"izationUnit\022%\n\016msp_identifier\030\001 \001(\tR\rmsp" +
"Identifier\022D\n\036organizational_unit_identi" +
"fier\030\002 \001(\tR\034organizationalUnitIdentifier" +
"\0223\n\025certifiers_identifier\030\003 \001(\014R\024certifi" +
"ersIdentifier\"\252\001\n\007MSPRole\022%\n\016msp_identif" +
"ier\030\001 \001(\tR\rmspIdentifier\022/\n\004role\030\002 \001(\0162\033" +
".common.MSPRole.MSPRoleTypeR\004role\"G\n\013MSP" +
"RoleType\022\n\n\006MEMBER\020\000\022\t\n\005ADMIN\020\001\022\n\n\006CLIEN" +
"T\020\002\022\010\n\004PEER\020\003\022\013\n\007ORDERER\020\004\"\254\001\n\024MSPIdenti" +
"tyAnonymity\022\\\n\016anonymity_type\030\001 \001(\01625.co" +
"mmon.MSPIdentityAnonymity.MSPIdentityAno" +
"nymityTypeR\ranonymityType\"6\n\030MSPIdentity" +
"AnonymityType\022\013\n\007NOMINAL\020\000\022\r\n\tANONYMOUS\020" +
"\001\"I\n\021CombinedPrincipal\0224\n\nprincipals\030\001 \003" +
"(\0132\024.common.MSPPrincipalR\nprincipalsB\244\001\n" +
"$org.hyperledger.fabric.protos.commonB\021M" +
"SPPrincipalProtoP\001Z1github.com/hyperledg" +
"er/fabric-protos-go-apiv2/msp\242\002\003CXX\252\002\006Co" +
"mmon\312\002\006Common\342\002\022Common\\GPBMetadata\352\002\006Com" +
"monb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_common_MSPPrincipal_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_common_MSPPrincipal_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_common_MSPPrincipal_descriptor,
new java.lang.String[] { "PrincipalClassification", "Principal", });
internal_static_common_OrganizationUnit_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_common_OrganizationUnit_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_common_OrganizationUnit_descriptor,
new java.lang.String[] { "MspIdentifier", "OrganizationalUnitIdentifier", "CertifiersIdentifier", });
internal_static_common_MSPRole_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_common_MSPRole_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_common_MSPRole_descriptor,
new java.lang.String[] { "MspIdentifier", "Role", });
internal_static_common_MSPIdentityAnonymity_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_common_MSPIdentityAnonymity_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_common_MSPIdentityAnonymity_descriptor,
new java.lang.String[] { "AnonymityType", });
internal_static_common_CombinedPrincipal_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_common_CombinedPrincipal_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_common_CombinedPrincipal_descriptor,
new java.lang.String[] { "Principals", });
descriptor.resolveAllFeaturesImmutable();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy