public interface MSPPrincipalOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.ByteString |
getPrincipal()
Principal completes the policy principal definition.
|
MSPPrincipal.Classification |
getPrincipalClassification()
Classification describes the way that one should process
Principal.
|
int |
getPrincipalClassificationValue()
Classification describes the way that one should process
Principal.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
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"];
MSPPrincipal.Classification getPrincipalClassification()
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"];
com.google.protobuf.ByteString getPrincipal()
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"];
Copyright © 2022. All rights reserved.