func Pb2TaggerCardinality(pbCardinality pb.TagCardinality) (collectors.TagCardinality, error) {
	switch pbCardinality {
	case pb.TagCardinality_LOW:
		return collectors.LowCardinality, nil
	case pb.TagCardinality_ORCHESTRATOR:
		return collectors.OrchestratorCardinality, nil
	case pb.TagCardinality_HIGH:
		return collectors.HighCardinality, nil
	}

	return 0, status.Errorf(codes.InvalidArgument, "invalid cardinality %q", pbCardinality)
}
// Pb2TaggerCardinality helper to convert protobuf cardinality to native tag cardinality.
Pb2TaggerCardinality helper to convert protobuf cardinality to native tag cardinality.
// Pb2TaggerCardinality helper to convert protobuf cardinality to native tag cardinality .
func Pb2TaggerCardinality(pbCardinality pb.TagCardinality) (collectors.TagCardinality, error) {
	switch pbCardinality {
	case pb.TagCardinality_LOW:
		return collectors.LowCardinality, nil
	case pb.TagCardinality_ORCHESTRATOR:
		return collectors.OrchestratorCardinality, nil
	case pb.TagCardinality_HIGH:
		return collectors.HighCardinality, nil
	}
	return 0, status.Errorf(codes.InvalidArgument, "invalid cardinality %q", pbCardinality)
}
func Pb2TaggerCardinality ( pbCardinality pb . TagCardinality ) ( collectors . TagCardinality , error ) { switch pbCardinality { case pb . TagCardinality_LOW : return collectors . LowCardinality , nil case pb . TagCardinality_ORCHESTRATOR : return collectors . OrchestratorCardinality , nil case pb . TagCardinality_HIGH : return collectors . HighCardinality , nil } return 0 , status . Errorf ( codes . InvalidArgument , " " , pbCardinality ) }
Pb2TaggerCardinality helper to convert protobuf cardinality to native tag cardinality.
Pb2TaggerCardinality helper to convert protobuf cardinality to native tag cardinality .