org.hyperledger.fabric.protos.common.MSPPrincipalOrBuilder 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 interface MSPPrincipalOrBuilder extends
// @@protoc_insertion_point(interface_extends:common.MSPPrincipal)
com.google.protobuf.MessageOrBuilder {
/**
*
* Classification describes the way that one should process
* Principal. An Classification value of "ByOrganizationUnit" reflects
* that "Principal" contains the name of an organization this MSP
* handles. A Classification value "ByIdentity" means that
* "Principal" contains a specific identity. Default value
* denotes that Principal contains one of the groups by
* default supported by all MSPs ("admin" or "member").
*
*
* .common.MSPPrincipal.Classification principal_classification = 1 [json_name = "principalClassification"];
* @return The enum numeric value on the wire for principalClassification.
*/
int getPrincipalClassificationValue();
/**
*
* Classification describes the way that one should process
* Principal. An Classification value of "ByOrganizationUnit" reflects
* that "Principal" contains the name of an organization this MSP
* handles. A Classification value "ByIdentity" means that
* "Principal" contains a specific identity. Default value
* denotes that Principal contains one of the groups by
* default supported by all MSPs ("admin" or "member").
*
*
* .common.MSPPrincipal.Classification principal_classification = 1 [json_name = "principalClassification"];
* @return The principalClassification.
*/
org.hyperledger.fabric.protos.common.MSPPrincipal.Classification getPrincipalClassification();
/**
*
* Principal completes the policy principal definition. For the default
* principal types, Principal can be either "Admin" or "Member".
* For the ByOrganizationUnit/ByIdentity values of Classification,
* PolicyPrincipal acquires its value from an organization unit or
* identity, respectively.
* For the Combined Classification type, the Principal is a marshalled
* CombinedPrincipal.
*
*
* bytes principal = 2 [json_name = "principal"];
* @return The principal.
*/
com.google.protobuf.ByteString getPrincipal();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy