org.hyperledger.fabric.protos.common.MSPRoleOrBuilder 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 MSPRoleOrBuilder extends
// @@protoc_insertion_point(interface_extends:common.MSPRole)
com.google.protobuf.MessageOrBuilder {
/**
*
* MSPIdentifier represents the identifier of the MSP this principal
* refers to
*
*
* string msp_identifier = 1 [json_name = "mspIdentifier"];
* @return The mspIdentifier.
*/
java.lang.String getMspIdentifier();
/**
*
* MSPIdentifier represents the identifier of the MSP this principal
* refers to
*
*
* string msp_identifier = 1 [json_name = "mspIdentifier"];
* @return The bytes for mspIdentifier.
*/
com.google.protobuf.ByteString
getMspIdentifierBytes();
/**
*
* MSPRoleType defines which of the available, pre-defined MSP-roles
* an identiy should posess inside the MSP with identifier MSPidentifier
*
*
* .common.MSPRole.MSPRoleType role = 2 [json_name = "role"];
* @return The enum numeric value on the wire for role.
*/
int getRoleValue();
/**
*
* MSPRoleType defines which of the available, pre-defined MSP-roles
* an identiy should posess inside the MSP with identifier MSPidentifier
*
*
* .common.MSPRole.MSPRoleType role = 2 [json_name = "role"];
* @return The role.
*/
org.hyperledger.fabric.protos.common.MSPRole.MSPRoleType getRole();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy